Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
7608 邓小龙 12序列找规律 C++ Wrong Answer 0 MS 256 KB 422 2025-05-07 18:22:50

Tests(0/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main() { int N,a; cin>>N; if (N%2==1) { a=10000-(N-1)/2; } else { a=10000-(N-2); } return 0; }


Run Info:

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