题解
2024-09-15 11:03:33
发布于:江苏
14阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
vector<int> v;
int main(){
int tmp;
while(114514){
cin>>tmp;
if(tmp==0){
break;
}
v.push_back(tmp);
}
for(vector<int>::iterator it=v.end()-1;it>=v.begin();it--){
cout<<*it<<" ";
}
return 0;
}
你学废了吗?(喜)
这里空空如也
有帮助,赞一个