- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFastRead.cpp
More file actions
Latest commit
17 lines (14 loc) · 409 Bytes
/
Copy pathFastRead.cpp
File metadata and controls
17 lines (14 loc) · 409 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include<cstdio>
#definelllonglong
constintSZ = 1 << 16;
char buff[SZ], *pos = buff + SZ - 1;
#definegetchar() ++ pos == buff + SZ ? fread(pos = buff, 1, SZ, stdin), *pos : *pos
inline ll read() {
ll x = 0; int f = 1, c = getchar();
for (;!isdigit(c); c = getchar()) if (c == '-') f = -f;
for (; isdigit(c); c = getchar()) x = (x<<3) + (x<<1) + (c^48);
return x * f;
}
intmain() {
return0;
}