快速读入

快读模板

int read(){
    int s=0; char c=getchar();
    for (;!isdigit(c);c=getchar());
    for (;isdigit(c);c=getchar()) s=s*10+c-'0';
    return s;
}
posted @ 2021-01-23 14:50  蒟蒻orz  阅读(9)  评论(0)    收藏  举报  来源