Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- int main() {
- int n;
- cin >> n;
- vector<tuple<int, int, int>> v(n);
- for (int i = 0; i < n; i++) {
- int a, b, c;
- cin >> a >> b >> c;
- v[i] = make_tuple(a, b, c);
- }
- for (auto it = v.begin(); it != v.end(); it++) {
- cout << get<0>(*it) << " " << get<1>(*it) << " " << get<2>(*it) << '\n';
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment