Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
55615 | 杨中琦 | 数组逆序重放 | C++ | Accepted | 100 | 0 MS | 248 KB | 194 | 2022-07-30 16:43:21 |
#include<iostream> using namespace std; int main(){ int i; cin>>i; int a[100]; for(int n=0;n<i;n++){ cin>>a[n]; } for(int n=i-1;n>=0;n--){ cout<<a[n]<<' '; } return 0; }