版本比较
快读 2.0
正文
增加 3 行删除 2 行
1234566789107 行未改动18192021222324252665 行未改动929394959596979899100241 行未改动全部展开# 轻量化快读
```cppnamespace FastRead{ char buf[1000005], *s = buf, *t = buf; #define gc() s == t && (t = (s = buf) + fread(buf, 1, 1000000, stdin), s == t) ? EOF : *s ++ #define gc() s == t && (t = (s = buf) + fread(buf, 1, 1000000, stdin), s == t) ? EOF : *s ++ template <typename T> inline void Read(T &x) { x = 0;7 行未改动 { char ch = gc(); while(ch <= 32 || ch > 126) ch = gc(); while(32 < ch && ch <= 126) *(str ++ ) = ch, ch = gc(); *str = 0; }};using FastRead::Read;```65 行未改动{ char x, y[3]; int a; unsigned b; IO.strline(); IO.strline(); IO >> x >> y >> a >> b; IO << x << IO.endl << y << IO.endl << a << IO.endl << b << IO.endl; return 0;}241 行未改动全部展开