为中华之崛起而读书
uint8_t buf[1 << 20], *p1, *p2;
#define gc() (p1 == p2 and (p2 = (p1 = buf) + fread(buf, 1, 1 << 20, stdin)), *p1 ++)
inline void r(int &a) {
int k = 0, f = 1, c = gc();
for (; not isdigit(c); c = gc())
if (c == '-')
f = -1;
for (; isdigit(c); c = gc())
k = k * 10 + (c ^ 48);
a = k * f;
return;
}Vjudge:midnight_sun
洛谷:midnight_sun
Atcoder:_midnight_sun_
Codeforces:zcz1212
ACWing:midnight_sun
POJ:midnight_sun

