| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 136721 | 鸡哥 | 数组中元素交换 | C++ | Wrong Answer | 1 MS | 272 KB | 206 | 2025-11-15 15:07:08 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[100]; int n; cin>>n; for(int i = 0;i<=n;i++){ cin>>a[i]; } for(int i = n-1;i>=0;i--){ cout<<a[i]<<" "; } return 0; }
------Input------
5 81 43 69 80 80
------Answer-----
43 81 80 69 80
------Your output-----
80 80 69 43 81