Joi.cpp: In lambda function:
Joi.cpp:13:9: error: there are no arguments to 'MessageBoard' that depend on a template parameter, so a declaration of 'MessageBoard' must be available [-fpermissive]
13 | MessageBoard(u, x % 2);
| ^~~~~~~~~~~~
Joi.cpp:13:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
Joi.cpp: In instantiation of 'Joi(int, int, std::vector<int>, std::vector<int>, long long int, int)::<lambda(int, auto:23&)> [with auto:23 = Joi(int, int, std::vector<int>, std::vector<int>, long long int, int)::<lambda(int, auto:23&)>]':
Joi.cpp:24:15: required from here
Joi.cpp:13:21: error: 'MessageBoard' was not declared in this scope
13 | MessageBoard(u, x % 2);
| ~~~~~~~~~~~~^~~~~~~~~~
Ioi.cpp: In function 'long long int Ioi(int, int, std::vector<int>, std::vector<int>, int, int, int)':
Ioi.cpp:34:13: error: 'Move' was not declared in this scope
34 | v = Move(u);
| ^~~~
Ioi.cpp: In lambda function:
Ioi.cpp:49:21: error: there are no arguments to 'Move' that depend on a template parameter, so a declaration of 'Move' must be available [-fpermissive]
49 | v = Move(c);
| ^~~~
Ioi.cpp:49:21: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
Ioi.cpp:53:21: error: there are no arguments to 'Move' that depend on a template parameter, so a declaration of 'Move' must be available [-fpermissive]
53 | v = Move(u);
| ^~~~
Ioi.cpp: In instantiation of 'Ioi(int, int, std::vector<int>, std::vector<int>, int, int, int)::<lambda(int, auto:24&)> [with auto:24 = Ioi(int, int, std::vector<int>, std::vector<int>, int, int, int)::<lambda(int, auto:24&)>]':
Ioi.cpp:58:26: required from here
Ioi.cpp:49:25: error: 'Move' was not declared in this scope
49 | v = Move(c);
| ~~~~^~~
Ioi.cpp:53:25: error: 'Move' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation
53 | v = Move(u);
| ~~~~^~~
Ioi.cpp: In lambda function:
Ioi.cpp:56:5: warning: control reaches end of non-void function [-Wreturn-type]
56 | };
| ^