2022.3.2快速读入

1 inline int read()
2 {
3     int x = 0;char c = getchar();
4     while (c < '0' || c>'9') c = getchar();
5     while (c >= '0' && c <= '9') x = x * 10 + c - '0', c = getchar();
6     return x;
7 }

 

posted @ 2022-03-02 09:11  Tiachi  阅读(25)  评论(0)    收藏  举报