如果你想联系到我喵!
手机号=微信=QQ:19279091513(以后可能会换)
邮箱:sproutpower@163.com
QQ号:247267103
B站:萌幂_SproutPower(大号) rewoPtuorpS_幂萌(小号,其实这个用的更多喵!)
快读快输:
#include<stdio.h>
#include<stdint.h>
#include<ctype.h>
#include<string.h>
#define BUF (1<<22)
uint8_t buf[1<<20],*p1,*p2;
uint8_t obuf[BUF+17],*now=obuf;
uint8_t fr[17];
#define gc() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<<20,stdin),p1==p2)?EOF:*p1++)
#define pc(x) (now ++[0]=(x))
int read(){int x=0,f=1;char c=gc();while(!isdigit(c))c-'-'?:(f=-1),c=gc();while(isdigit(c))x=x*10+(c^48),c=gc();return x*f;}
void write(int x){
if(!x)return(void)(pc(48));
if(x==-2147483648)return(void)(memmove(now,"-2147483648",11),now+=11);
uint8_t* tot=fr+17;
(x<0)&&(now ++[0]=45,x=-x);
(x)&&((--tot)[0]=x%10|48,x/=10),
(x)&&((--tot)[0]=x%10|48,x/=10),
(x)&&((--tot)[0]=x%10|48,x/=10),
(x)&&((--tot)[0]=x%10|48,x/=10),
(x)&&((--tot)[0]=x%10|48,x/=10),
(x)&&((--tot)[0]=x%10|48,x/=10),
(x)&&((--tot)[0]=x%10|48,x/=10),
(x)&&((--tot)[0]=x%10|48,x/=10),
(x)&&((--tot)[0]=x%10|48,x/=10),
(x)&&((--tot)[0]=x%10|48,x/=10);
//while(x)(--tot)[0]=x%10|48,x/=10;
memmove(now,tot,fr+17-tot);
now+=fr+17-tot;
}
int main(){
fwrite(obuf,1,now-obuf,stdout);
return 0;
}