Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
8178 李正谦 小鱼的数字游戏 C++ Accepted 100 0 MS 252 KB 188 2020-10-31 16:46:27

Tests(4/4):


#include<bits/stdc++.h> using namespace std; int a[101],n; int main(){ 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: