Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
41889 陈栋 逆序排列 C++ Accepted 2 MS 276 KB 201 2022-11-08 21:50:27

Tests(1/1):


Code:

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