Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
120696 罗安博 逆序输出 C++ Accepted 1 MS 272 KB 221 2025-05-31 12:24:05

Tests(10/10):


Code:

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