@Dmaxiya
2017-12-13T21:57:19.000000Z
字数 296
阅读 980
板子
const int SIZE = 100000;
// SIZE 为读入数据长度,单位为字节
inline char nc() {
static char buf[SIZE], *p1 = buf, *p2 = buf;
return p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, SIZE, stdin), p1 == p2)? EOF: *p1++;
}
inline int _read() {
char ch = nc();
int sum = 0;
while(!(ch >= '0' && ch <= '9')) ch = nc();
while(ch >= '0' && ch <= '9') sum = sum * 10 + ch - 48, ch = nc();
return sum;
}