| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 8168 | 张熙媛 | 小鱼的数字游戏 | C++ | Accepted | 100 | 0 MS | 252 KB | 212 | 2020-10-31 16:35:42 |
#include<bits/stdc++.h> using namespace std; int a[101],n; int main(){ for(int i=1;i<=101;i++){ cin>>a[i]; if(a[i]==0) break; n++; } for(int i=n;i>=1;i--){ cout<<a[i]<<" "; } return 0; }