#35168: 一定要用qsort也不是不行 但是要加io優化


jeremydingeric@gmail.com (164253)

學校 : 臺北市立成功高級中學
編號 : 158900
來源 : [42.77.7.4]
最後登入時間 :
2025-09-19 21:00:26

char buf[1<<25],*p1=buf,*p2=buf;

#define getchar() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<<25,stdin),p1==p2)?EOF:*p1++)

unsigned int i;

#define getint(i) for(i=0;c=getchar(),c!=EOF&&c!='\n'&&c!=' ';){i*=10;i+=c-'0';}