快读

int read() {
    int res = 0;
    char c = getchar();
    while(!isdigit(c)) c = getchar();
    while(isdigit(c)) res = (res << 1) + (res << 3) + c - 48, c = getchar();
    return res;
}
void write(int x) {
    if(x / 10) write(x / 10);
    putchar(x % 10 + '0');
}

 

上一篇:卡牌游戏


下一篇:7.22 学习笔记