| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137174 | 何兴驰 | 12序列的第n项 | C++ | Wrong Answer | 1 MS | 276 KB | 154 | 2025-11-16 12:27:56 |
#include <bits/stdc++.h> using namespace std; int main(){ int a=1,n; cin>>n; for(int i=0;i<n-1;i++){ a=a-1; } cout<<a; }
------Input------
5
------Answer-----
7
------Your output-----
-3