版本比较
快读,快写模板C++
正文
增加 3 行删除 3 行
123345673 行未改动1112131415151617181919202122233 行未改动快读```cppvoid read(int &a) void read(int &a){ a = 0; char c; while ((c = getchar()) < 48);3 行未改动```
快写```cppvoid write(int x) void write(int x){ static int sta[35]; int top = 0; do do { sta[top++] = x % 10; x /= 10; } while (x);3 行未改动