Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
98104 | 李谨睿 | 数组倒序输出 | C++ | Accepted | 1 MS | 268 KB | 204 | 2024-11-17 12:38:19 |
#include<bits/stdc++.h> using namespace std; int main(){ int s=0; cin>>s; int a[100]; for(int i=0;i<=s-1;i++){ cin>>a[i]; } for(int j=s-1;j>=0;j--){ cout<<a[j]<<" "; } return 0; }