| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 123923 | 田子熙 | 12序列找规律 | C++ | Wrong Answer | 0 MS | 264 KB | 218 | 2025-07-10 15:01:13 |
#include<bits/stdc++.h> using namespace std; int main(){ int a=10000,b=10000; int n; cin>>n; for(int i=3;i<=n;i++){ if(i%2==1){ a-=1; }else{ b-=2; } } if(n%2==0) cout<<b; return 0; }
------Input------
5
------Answer-----
9998
------Your output-----