Rt,在Dev运行下面这个fread:
struct io {
char ibuf[900 << 20] , * s;
io() {
fread( s = ibuf , 1 , 900 << 20 , stdin );
}
inline int read() {
register int u = 0;
while( * s < 48 ) s++;
while( * s > 32 )
u = u * 10 + * s++ - 48;
return u;
}
} ip;
并调用
n=ip.read()
我的电脑就会卡死,加速球显示99%(都0202年了,还有人用加速球?)
在某些IDE上,有时也会迟迟输出不了结果,因此我只能用luogu IDE来测程序,求助各位是为什么。