卡常专用

来源:互联网 发布:淘宝开网店要多少钱 编辑:程序博客网 时间:2024/05/02 23:55


卡常专用



#define fastcall __attribute__((optimize("-O3")))#define IL __inline__ __attribute__((always_inline))#ifdef ONLINE_JUDGEchar *TT,*mo,but[(1<<15)+2];#define getchar() ((TT==mo&&(mo=(TT=but)+fread(but,1,1<<15,stdin)),TT==mo)?0:*TT++)#endiffastcall IL int read(){int x=0,ch=0;while(ch<'0'||ch>'9')ch=getchar();while(ch>='0'&&ch<='9')x=x*10+ch-'0',ch=getchar();return x;}fastcall void print(int x){if(x<0)putchar('-'),x=-x;if(x>=10)print(x/10);putchar(x%10+'0');}


原创粉丝点击