Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
8166 鱼锁嵘 小鱼的数字游戏 C++ 通过 100 0 MS 248 KB 234 2020-10-31 16:32:56

Tests(4/4):


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


测评信息: