Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
119600 | 王子涵 | 数组倒序输出 | C++ | Wrong Answer | 0 MS | 272 KB | 200 | 2025-05-18 08:36:28 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[101], n; cin>>n; for(int i=1;i<n;i++) cin>>a[i]; for(int i=n-1;i<=0;i--) cout<<a[i]<<" "; cout<<endl; return 0; }
------Input------
12 109292 291023 393 393 32920201 19 3039 101 393 1 25 243968
------Answer-----
243968 25 1 393 101 3039 19 32920201 393 393 291023 109292
------Your output-----