Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
80056 石晋骁 数组中元素交换 C++ Wrong Answer 1 MS 272 KB 214 2024-07-11 10:45:44

Tests(1/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; int a[n]; for(int i = 0;i< n;i++){ cin >> a[i]; } for(int j = n-1;j>= 0;j--){ cout << a[j] << " "; } return 0; }


Run Info:

------Input------
5 81 43 69 80 80
------Answer-----
43 81 80 69 80
------Your output-----
80 80 69 43 81