版本比较
快读快写模板
正文
增加 4 行删除 1 行
3 行未改动4567891011121311 行未改动252627282729303132333 行未改动
const int LO = 1 << 20;char buffer[LO], *ss, *tt;#define getchar() (ss == tt && (tt = (ss = buffer) + fread(buffer, 1, LO, stdin), ss == tt) ? EOF : *ss++)char obuf[LO], *os = obuf;#define putchar(c) (os == obuf + LO ? (fwrite(obuf, 1, LO, stdout), os = obuf) : 0, *os++ = (c))
int read(){ int x = 0; char c = getchar();11 行未改动 for(;tp;) putchar(s[--tp] + '0');}
int main(){
fwrite(obuf, 1, os - obuf, stdout); return 0;}```