题解 | 神秘石像的镜像序列
神秘石像的镜像序列
https://www.nowcoder.com/practice/fa34eea974234610b6d3d81790cb2949
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int > shuzu;
int a;
while(cin >> a){
shuzu.push_back(a);
}
for (int i = shuzu.size() - 2; i >= 0; i--){
cout << shuzu[i] << " ";
}
cout << endl;
return 0;
}
// 64 位输出请用 printf("%lld")
