cin关同步
cin.sync_with_stdio(false);
cin.tie(0);
读入挂
inline ll read()
{
int x=0,f=1;char ch=getchar();
while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}
while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
return x*f;
}
输出挂
inline void Out(LL a)///输出外挂
{
if(a>9)
Out(a/10);
putchar(a%10+'0');
}
文件输入输出
freopen("in.txt","r",stdin);
freopen("out.txt","w",stdout);