快读,快输
作者:互联网
快读
#define gc getchar
inline ll read(){
ll a=0;int f=0;char p=gc();
while(!isdigit(p)){f|=p=='-';p=gc();}
while(isdigit(p)){a=(a<<3)+(a<<1)+(p^48);p=gc();}
return f?-a:a;
}
快输
inline void write(int n){
if(n==0) return;
write(n/10);
putchar(n%10+'0');
}```
标签:10,int,ll,快输,while,gc,快读 来源: https://www.cnblogs.com/aska00/p/16524691.html