Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
8184 孙浩楠 小鱼的数字游戏 C++ Accepted 100 0 MS 248 KB 190 2020-10-31 16:52:56

Tests(4/4):


#include<bits/stdc++.h> using namespace std; int main(){ int n,a[200]; while(true){ cin>>a[++n]; if(a[n]==0) break; } for(int i=n-1;i>=1;i--) cout<<a[i]<<" "; return 0; }


Judgement Protocol: