Main.cpp: In lambda function:
Main.cpp:18:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
18 | for(register int i = 1; i <= n; ++i){
| ^
Main.cpp:25:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
25 | for(register int mask = 0; mask <= (1 << (n << 1)); ++mask){
| ^~~~
Main.cpp:29:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
29 | for(register int i = 1; i <= n; ++i){
| ^
Main.cpp:31:40: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
31 | flag &= (bool(mask & (1 << (a[i])) + bool(mask & (1<<(b[i])))) == 1);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:39:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
39 | for(register int i = 1; i <= n && flag; ++i){
| ^
Main.cpp:54:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
54 | for(register int i = 1; i <= n; ++i){
| ^