Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
7493 邓小龙 12序列找规律 C++ Wrong Answer 0 MS 260 KB 193 2025-05-03 00:14:05

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n%2==1) {cout<<10000-(n-1/2)<<endl; } if(n%2==0) {cout<<10000-n<<endl; } return 0; }


Run Info:

------Input------
13
------Answer-----
9994
------Your output-----
9987