const int MAXSIZE=1000000;
char buf[MAXSIZE],*p1=buf+MAXSIZE,*p2=buf+MAXSIZE;
#define nc() (p1 == p2 && (p1 = buf,fread(buf, 1, MAXSIZE, stdin)),*p1++)
inline long long read() {
long long x=0;
char ch=nc();
while('0'>ch||'9'<ch)ch=nc();
while('0'<=ch&&ch<='9')x=x*10+(ch^48),ch=nc();
return x;
}
char buf1[MAXSIZE],*p=buf1,*ed=buf1+MAXSIZE;
#define pc(x) (p==ed&&(p=buf1,fwrite(buf1,1,MAXSIZE,stdout)),*p++)=x
void write(long long x) {
if(x>9)write(x/10);
pc(x%10+'0');
}
inline void flush(){
fwrite(buf1,1,p-buf1,stdout);
p=buf1;
}剪贴板
剪贴板 qgdanl1t
剪贴板信息
剪贴板信息
- 收录
- 更新