题解 | 神秘石像的镜像序列
神秘石像的镜像序列
https://www.nowcoder.com/practice/fa34eea974234610b6d3d81790cb2949
#include <iostream>
using namespace std;
int main()
{
int a[1000];
int i=0,x;
while(cin>>x){
a[i]=x;
i++;
}
for(int j=i-2;j>=0;j--){
cout<<a[j]<<' ';
}
return 0;
}