void re(int &x)
{
x = 0; char s = getchar();
while(s < '0' || s > '9') s = getchar();
while(s >= '0' && s <= '9') { x = x * 10 + s - '0'; s = getchar();}
}
void wr(int x)
{
if(x >9) wr(x/10);
putchar(x%10+'0');
}
inline int read()
{
int ret = 0, w = 1;
char ch = getchar();
while(ch <= '0' || ch >= '9')
{
if(ch == '-')
w = -1;
ch = getchar();
}
while(ch >= '0' && ch <= '9')
ret = ret * 10 + ch - '0', ch = getchar();
return ret * w;
}
inline void write(int x)
{
if(x < 0)
putchar('-'), x = -x;
if(x > 9)
write(x / 10);
putchar(x % 10 + '0');
}
不仅没什么卵用 还会让你超时