communication.cpp: In function 'void encode(int, int)':
communication.cpp:16:23: warning: unused variable 'ans' [-Wunused-variable]
16 | int ans = send(0);
| ^~~
communication.cpp:20:23: warning: unused variable 'ans' [-Wunused-variable]
20 | int ans = send(1);
| ^~~
communication.cpp:24:23: warning: unused variable 'ans' [-Wunused-variable]
24 | int ans = send(i%3 == 0);
| ^~~
communication.cpp: In function 'std::pair<int, int> decode(int)':
communication.cpp:33:7: error: 'sets' was not declared in this scope; did you mean 'setns'?
33 | sets<int> possibles;
| ^~~~
| setns
communication.cpp:33:12: error: expected primary-expression before 'int'
33 | sets<int> possibles;
| ^~~
communication.cpp:55:19: error: 'possibles' was not declared in this scope
55 | possibles.insert(1);
| ^~~~~~~~~
communication.cpp:57:19: error: 'possibles' was not declared in this scope
57 | possibles.insert(2);
| ^~~~~~~~~
communication.cpp:59:19: error: 'possibles' was not declared in this scope
59 | possibles.insert(3);
| ^~~~~~~~~
communication.cpp:63:20: error: 'possibles' was not declared in this scope
63 | for (int a : possibles)
| ^~~~~~~~~
communication.cpp:70:28: error: expected ';' before '}' token
70 | return {-1, -1}
| ^
| ;
71 | }
| ~