WsW_ @ 2023-07-12 18:41:36
记录
by XeCtera @ 2023-07-12 18:43:35
int p1=-1,p2,num[12];
char cw[65536];
inline void write(int x) {
if (p1>65516) fwrite(cw,1,p1+1,stdout),p1=-1;
do num[++p2]=x%10; while (x/=10);
do cw[++p1]=num[p2]|48; while (--p2);
cw[++p1]='\n';
}
by WsW_ @ 2023-07-12 18:44:12
@icyM3tra xx
by XeCtera @ 2023-07-12 18:44:36
@WsW_ 对了,记得在最后也加一句 fwrite(cw,1,p1+1,stdout)
by WsW_ @ 2023-07-12 18:46:22
@icyM3tra 这个输出去哪了·-·
by WsW_ @ 2023-07-12 18:46:37
@icyM3tra 奥,好
by WA_sir @ 2023-07-12 18:48:51
叫快读吧()
by WsW_ @ 2023-07-12 18:49:56
@WA_sir 快读板子有
还要输出呢(
by WA_sir @ 2023-07-12 18:51:16
快写()
by XeCtera @ 2023-07-12 18:51:25
欸这题 Q<=3000 啊。那快输其实没啥用。
by WsW_ @ 2023-07-12 19:11:38
@icyM3tra (是的,不开O2我成功极限冲到了1.01s((((((