快读
char buf[1<<20],*p1_,*p2_;
#define gc() (p1_==p2_&&(p2_=(p1_=buf)+fread(buf,1,1<<20,stdin),p1_==p2_)?EOF:*p1_++)
int f_,x_,ch_;
inline int in(){
f_=1,x_=0;
ch_=gc();
while(ch_<48||ch_>57){
if(ch_==45) f_=-1;
ch_=gc();
}
while(ch_>=48&&ch_<=57) x_=x_*10+ch_-48,ch_=gc();
return x_*f_;
}快写
void out(int x){
if(x<0) putchar('-'),x=-x;
if(x>9) out(x/10);
putchar(x%10+'0');
return;
}对 __int128 类型有效
pd_ds
#include <bits/extc++.h>