__int128咋写
  • 板块灌水区
  • 楼主Oier_Dr_Wu
  • 当前回复5
  • 已保存回复5
  • 发布时间2024/10/26 10:04
  • 上次更新2024/10/26 12:22:45
查看原帖
__int128咋写
1123633
Oier_Dr_Wu楼主2024/10/26 10:04

咋做

#include<bits/stdc++.h>
using namespace std;
#define int __int128
int read(){
	int x=0,y=0;
	char c = getchar();
	while (c < '0' || c > '9') {
		if (c == '-')    y = -1;
		c = getchar();
	}
	while (c >= '0' && c <= '9') {
		x=x*10+c-'0';
		c = getchar();
	}
}
int write(int n){
	if(n>9) write(n/10);
	putchar(n%10+'0');
}
signed main(){
	int n;
	n=read();
	write(n);
}
2024/10/26 10:04
加载中...