如果你在某些点大 WA 特 WA
查看原帖
如果你在某些点大 WA 特 WA
752017
buowen123楼主2024/2/24 16:08

开 __int128 吧,孩砸。

下为 __int128 的输入输出函数(其实就是快读快写的东西)

__int128 read(){
    __int128 x = 0;
    char ch = getchar();
    while (ch < 48) ch=getchar();
    while (ch > 47) x = x * 10 + ch - 48, ch = getchar();
    return x;
}
void write(__int128 x){
    if (x > 9) write(x / 10);
    putchar(x % 10 + 48);
}
2024/2/24 16:08
加载中...