题解
2025-01-23 19:05:40
发布于:江苏
29阅读
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;
}
这里空空如也
有帮助,赞一个