pipes.cpp:13:9: error: 'pii' was not declared in this scope
13 | vector <pii> ans;
| ^~~
pipes.cpp:13:12: error: template argument 1 is invalid
13 | vector <pii> ans;
| ^
pipes.cpp:13:12: error: template argument 2 is invalid
pipes.cpp: In function 'void solve()':
pipes.cpp:77:18: error: 'class std::vector<int>' has no member named 'pb'
77 | g[u].pb(v);
| ^~
pipes.cpp:78:18: error: 'class std::vector<int>' has no member named 'pb'
78 | g[v].pb(u);
| ^~
pipes.cpp:81:18: error: 'class std::vector<int>' has no member named 'pb'
81 | g[u].pb(v);
| ^~
pipes.cpp:82:18: error: 'class std::vector<int>' has no member named 'pb'
82 | g[v].pb(u);
| ^~
pipes.cpp:96:17: error: request for member 'pb' in 'ans', which is of non-class type 'int'
96 | ans.pb({i, par[i]});
| ^~
pipes.cpp:99:24: error: 'begin' was not declared in this scope
99 | for (auto [u, v] : ans)
| ^~~
pipes.cpp:99:24: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:166,
from pipes.cpp:1:
/usr/include/c++/13/valarray:1238:5: note: 'std::begin'
1238 | begin(const valarray<_Tp>& __va) noexcept
| ^~~~~
In file included from /usr/include/c++/13/filesystem:50,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:200:
/usr/include/c++/13/bits/fs_dir.h:607:3: note: 'std::filesystem::__cxx11::begin'
607 | begin(recursive_directory_iterator __iter) noexcept
| ^~~~~
pipes.cpp:99:24: error: 'end' was not declared in this scope
99 | for (auto [u, v] : ans)
| ^~~
pipes.cpp:99:24: note: suggested alternatives:
/usr/include/c++/13/valarray:1265:5: note: 'std::end'
1265 | end(const valarray<_Tp>& __va) noexcept
| ^~~
/usr/include/c++/13/bits/fs_dir.h:612:3: note: 'std::filesystem::__cxx11::end'
612 | end(recursive_directory_iterator) noexcept
| ^~~