| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 130717 | 任紫谦 | [在线测评解答教程] A+B Problem | C++ | Wrong Answer | 1 MS | 276 KB | 296 | 2025-09-14 18:36:09 |
#include<bits/stdc++.h> using namespace std; int main(){ vector<int>a; int n,m,b; cin>>n; for(int i=0;i<n;i++){ cin>>m; a.push_back(m); } b=a[0]; a.erase(a.begin()+0); a.push_back(b); for(int i=0;i<a.size();i++){ cout<<a[i]<<" "; } return 0; }
------Input------
87 93
------Answer-----
180
------Your output-----
93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93