Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147546 王顺煜 逆序输出 C++ Accepted 0 MS 280 KB 226 2026-02-06 09:51:17

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a[101],n;//一维数组的名字 n长度 cin>>n;//有效长度 for(int i=1;i<=n;i++){ cin>>a[i]; } for(int i=n;i>=1;i--){ cout<<a[i]<<" "; } }