Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
81943 sh25_shenpy 整型变量数值范围练习 C++ 解答错误 0 MS 244 KB 399 2026-01-09 15:37:19

Tests(0/1):


#include <iostream> using namespace std; int main() { long a,b,c,d,e,f,g; a=1234567890; b=2147483646; c=b+1; d=c+1; e=-2147483647; f=e-1; g=d-1; d=f-1; 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<<endl; return 0; }


测评信息: