代码:
#include<bits/stdc++.h>
using namespace std;
using Int = __int128;
template <typename T>
inline void write(T x){
static short st[40];
static bool f = 0;
f = 0;
if(x < 0)f = 1, x = -1;
do st[++st[0]] = x % 10;
while(x /= 10);
if(f)putchar('-');
while(st[0])putchar(48 | st[st[0]--]);
}
int main(){
Int x;
write(x);
return 0;
}
若 x 有赋初值,则正常输出 x 的值。
若没有,打开注释输出 YES 和 0;不打开注释不输出。