//input template#include<bits/stdc++.h> using namespace std; int solve() { int n,s; cin>>n>>s; vector<int> tri(n); for(int i=0;i<n;i++) { cin>>tri[i]; } for(vector<int>::iterator ite=tri.begin();ite!=tri.end();++ite) { cout<<*ite<<endl; } }; int main() { int T,ans=0; cin>>T; for(int _=0;_<T;_++) { ans=solve(); } return 0; };
来源:https://www.cnblogs.com/Marigolci/p/12222917.html