题解
2025-01-23 19:05:40
发布于:江苏
71阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main(){
cout<<"a="<<1234567890<<endl;
cout<<"b="<<2147483646<<endl;
cout<<"c="<<2147483647<<endl;
cout<<"d="<<-2147483648<<endl;
cout<<"e="<<-2147483647<<endl;
cout<<"f="<<-2147483648<<endl;
cout<<"g="<<2147483647;
return 0;
}
#include<iostream>
using namespace std;
int main(){
int a=1234567890,b=2147483646,c=2147483647,d=-2147483648,e=-2147483647,f=-2147483648,g=2147483647;
cout<<"a="<<a<<endl;
cout<<"b="<<b<<endl;
cout<<"c="<<c<<endl;
cout<<"d="<<d<<endl;
cout<<"e="<<e<<endl;
cout<<"f="<<f<<endl;
cout<<"g="<<g;
return 0;
}
全部评论 1
多谢(已点赞)
2025-11-11 来自 浙江
0











有帮助,赞一个