不可以用cin
cout
scanf
printf
typedef __int128_t int128;
int128 read()
{
int128 x = 0; bool f = 0; char c = getchar();
while (c < '0'|| c > '9') { if (c == '-') f = 1; c = getchar(); }
while (c >= '0' && c <= '9') { x = (x << 1) + (x << 3) + (c ^ 48); c = getchar(); }
return f ? -x : x;
}
inline void write(int128 x)
{
if(x < 0) putchar('-'), x = -x;
if(x > 9) write(x / 10);
putchar(x % 10 + '0');
}