0_0_38777766_22367.cpp:201:38: error: return type 'struct std::array<long long int, 3>' is incomplete
201 | std::array<i64, 3> exgcd(i64 a, i64 b) {
| ^
0_0_38777766_22367.cpp: In function 'void exgcd(i64, i64)':
0_0_38777766_22367.cpp:205:14: error: deduced type 'void' for '<structured bindings>' is incomplete
205 | auto [g, x, y] = exgcd(b, a % b);
| ^~~~~~~~~
0_0_38777766_22367.cpp: In function 'i64 bsgs(i64, i64, i64)':
0_0_38777766_22367.cpp:210:10: error: 'unordered_map' is not a member of 'std'
210 | std::unordered_map<i64, i64> mp;
| ^~~~~~~~~~~~~
0_0_38777766_22367.cpp:6:1: note: 'std::unordered_map' is defined in header '<unordered_map>'; did you forget to '#include <unordered_map>'?
5 | #include <utility>
+++ |+#include <unordered_map>
6 |
0_0_38777766_22367.cpp:210:27: error: expected primary-expression before ',' token
210 | std::unordered_map<i64, i64> mp;
| ^
0_0_38777766_22367.cpp:210:32: error: expected primary-expression before '>' token
210 | std::unordered_map<i64, i64> mp;
| ^
0_0_38777766_22367.cpp:210:34: error: 'mp' was not declared in this scope; did you mean 'p'?
210 | std::unordered_map<i64, i64> mp;
| ^~
| p
0_0_38777766_22367.cpp:211:18: error: 'sqrt' was not declared in this scope
211 | i64 m = ceil(sqrt(p));
| ^~~~
0_0_38777766_22367.cpp:211:13: error: 'ceil' was not declared in this scope
211 | i64 m = ceil(sqrt(p));
| ^~~~
0_0_38777766_22367.cpp: In function 'void solve()':
0_0_38777766_22367.cpp:235:18: error: 'sqrt' is not a member of 'std'; did you mean 'sort'?
235 | int Q = std::sqrt(P + 1) + 1;
| ^~~~
| sort
0_0_38777766_22367.cpp:257:10: error: 'function' is not a member of 'std'
257 | std::function<Z2(i64)> get_log = [&](i64 x) {
| ^~~~~~~~
0_0_38777766_22367.cpp:6:1: note: 'std::function' is defined in header '<functional>'; did you forget to '#include <functional>'?
5 | #include <utility>
+++ |+#include <functional>
6 |
0_0_38777766_22367.cpp:257:21: error: expected primary-expression before '(' token
257 | std::function<Z2(i64)> get_log = [&](i64 x) {
| ^
0_0_38777766_22367.cpp:257:25: error: expected primary-expression before ')' token
257 | std::function<Z2(i64)> get_log = [&](i64 x) {
| ^
0_0_38777766_22367.cpp:257:28: error: 'get_log' was not declared in this scope; did you mean 'get_s'?
257 | std::function<Z2(i64)> get_log = [&](i64 x) {
| ^~~~~~~
| get_s
|