| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159574 | 李泽曦 | 12序列找规律 | C++ | Compile Error | 0 MS | 0 KB | 437 | 2026-09-05 15:39:59 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b,n; a=10000; b=10000; cin>>n; for(int i=1;i<=(n-1)/2;i++){ a--; b-=2; } if(n%2==0)cout<<b; else cout<<a; return 0;
Main.cc: In function 'int main()':
Main.cc:18:13: error: expected '}' at end of input
return 0;
^