#include <bits/stdc++.h> using namespace std; #define sr srand(time(0)); #define ra(l, h) (rand() % ((h)-(l)+1) + (l)) #define sync { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); } #define ll long long int #define vi vector<int> #define fn(n) for(int i = 0; i < n; i++) #define fr(i, a, b) for(int i = a; i <= b; i++) #define rfr(i, a, b) for(int i = a; i >= b; i--) #define pb push_back #define all(a) a.begin(), a.end() #define tt int test; cin >> test; while(test--) #define ff first #define ss second #define en cout<< "\n" #define cy cout << "YES" << endl #define cn cout << "NO" << endl int main() { sync tt { int n; cin >> n; vi v(n); fn(n) cin >> v[i]; fn(n) cout<<v[i]<<" "; cout << "\n"; } return 0; } /* */
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter