1 条题解

  • 0
    @ 2026-10-10 9:23:47
    #include<bits/stdc++.h>
    using namespace std;
    void write(__int128 x)
    {
    	if (x > 9)
    		write(x / 10);
    	putchar(x % 10 + 48);
    }
    __int128 read()
    {
    	__int128 x = 0;
    	char c = getchar();
    	while (c < 48 || c > 57)
    		c = getchar();
    	while (c > 47 && c < 58)
    		x = (x << 1) + (x << 3) + c - 48, c = getchar();
    	return x;
    }
    signed main(){
    	ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);
    	__int128 s=read();
    	write(s);
    }
    
    • 1

    信息

    ID
    896
    时间
    1000ms
    内存
    256MiB
    难度
    7
    标签
    (无)
    递交数
    43
    已通过
    9
    上传者