consul.cpp: In function 'void solve(int)':
consul.cpp:27:32: error: 'class std::vector<int>' has no member named 'pb'
27 | for(int i=1; i <= n; i++)v.pb(i);
| ^~
consul.cpp:28:20: error: 'all' was not declared in this scope
28 | random_shuffle(all(v));
| ^~~
consul.cpp:28:20: note: suggested alternatives:
In file included from /usr/include/c++/11/filesystem:44,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:129,
from consul.cpp:2:
/usr/include/c++/11/bits/fs_fwd.h:154:7: note: 'std::filesystem::perms::all'
154 | all = 0777,
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:146,
from consul.cpp:2:
/usr/include/c++/11/ranges:1130:27: note: 'std::ranges::views::all'
1130 | inline constexpr _All all;
| ^~~