快读(C++)

快读

#include <cstdio>
#include <cstring>
 
inline int read() 
{
    int x = 0, f = 1;
    char c = getchar();
    while (c < '0' || c > '9') 
    {
        if (c == '-') f = -1;
        c = getchar();
    }
    while (c >= '0' && c <= '9') 
    {
        x = x * 10 + c - '0';
        c = getchar();
    }
    return x * f;
}
posted @ 2024-10-29 21:23  DomiSun  阅读(190)  评论(0)    收藏  举报
/* 点击爆炸效果*/