Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
130813 李亭绪 12序列找规律 C++ Wrong Answer 1 MS 276 KB 207 2025-09-17 19:31:31

Tests(1/10):


Code:

#include<iostream> // cin\cout\endl using namespace std; int main(){ int a,b,c=0,d=0,e; a=10000; cin>>b; for(int i=3;i<=b;i++) { if(i%2==0) { a-=2; } else { e-=1; } } cout<<a; return 0; }


Run Info:

------Input------
13
------Answer-----
9994
------Your output-----
9990