| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 148239 | 姜景文 | 笨鸟先飞 | C++ | Compile Error | 0 MS | 0 KB | 363 | 2026-02-10 09:00:29 |
#include<bits/stdc++.h> using namespace std; int main(){ int num,a; long long s=0; int t=0; cin>>num; getchar(); while(num--){ cin>>a; getchar(); if(a>0){ for(int i=1;i<=a;i++){ t=1+2*(i-1); s+=t; } cout<<(s%10000)<<endl; s=0; continue; } return 0; }
Main.cc: In function 'int main()':
Main.cc:22:5: error: expected '}' at end of input
}
^