Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
81945 sh25_shenpy 整型变量数值范围练习 C++ 通过 0 MS 256 KB 397 2026-01-09 15:37:41

Tests(1/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; 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; }


测评信息: