| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 149144 | 马俊潇 | 12序列找规律 | C++ | Compile Error | 0 MS | 0 KB | 242 | 2026-03-07 15:45:05 |
#include<iostream> using namespace std; int main(){ int s1=10000,s2=10000,n; cin>>n; for(int i=0;i<(n-1)/2;i++){ s1=s1-1; s2==s2-1;} if(n%2==0) cout<<s2<<endl; else cout<<si; return 0;}
Main.cc: In function 'int main()':
Main.cc:8:13: warning: statement has no effect [-Wunused-value]
s2==s2-1;}
^
Main.cc:12:15: error: 'si' was not declared in this scope
cout<