为了防止被 D,代码进行了格式化(
#include <bits/stdc++.h>
using namespace std;
inline bool digit(char c) { return c >= 48 && c <= 57; }
static char BUF[1000000], *P1 = BUF, *P2 = BUF, OBUF[1000000], *P3 = OBUF;
inline char gc() { return P1 == P2 && (P2 = (P1 = BUF) + fread(BUF, 1, 1000000, stdin), P1 == P2) ? EOF : *P1++; }
inline void pc(register char x) { (P3 - OBUF < 1000000) ? (*P3++ = x) : (fwrite(OBUF, P3 - OBUF, 1, stdout), P3 = OBUF, *P3++ = x); }
template <typename item>
inline void uread(register item &x)
{
register char c;
for (; !digit(c = gc());)
;
for (x = c ^ 48; digit(c = gc());)
x = (x << 3) + (x << 1) + (c ^ 48);
}
template <typename item>
inline void read(register item &x)
{
register char c;
bool f = 0;
for (; !digit(c = gc());)
if (c == 45)
f = 1;
for (x = c ^ 48; digit(c = gc());)
x = (x << 3) + (x << 1) + (c ^ 48);
f && (x = -x);
}
static char STACK[20];
template <typename item>
inline void uwrite(register item x)
{
if (!x)
return pc(48);
register short len = 0;
for (; x; x /= 10)
STACK[len++] = x % 10 ^ 48;
for (; len--;)
pc(STACK[len]);
}
template <typename item>
inline void write(item x)
{
if (!x)
return pc(48);
if (x < 0)
pc(45), x = -x;
short len = 0;
for (; x; x /= 10)
STACK[len++] = x % 10 ^ 48;
for (; len--;)
pc(STACK[len]);
}
inline void endl() { pc(10); }
inline void space() { pc(32); }
inline void close() { fwrite(OBUF, P3 - OBUF, 1, stdout); }
int main()
{
return close(), 0;
}