Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
8167 郑奚桐 小鱼的数字游戏 C++ 通过 100 0 MS 248 KB 189 2020-10-31 16:33:42

Tests(4/4):


#include<bits/stdc++.h> using namespace std; int n,a[200]; 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; }


测评信息: