Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79448 黄睿杰 12序列找规律 C++ Accepted 1 MS 264 KB 172 2024-07-06 11:50:44

Tests(10/10):


Code:

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