communication.cpp: In function 'std::pair<int, int> decode(int)':
communication.cpp:13:20: error: cannot convert 'std::pair<int, int>' to 'int' in initialization
13 | int a = receive(), b = receive(), c = receive(), d = receive();
| ~~~~~~~^~
| |
| std::pair<int, int>
communication.cpp:13:35: error: cannot convert 'std::pair<int, int>' to 'int' in initialization
13 | int a = receive(), b = receive(), c = receive(), d = receive();
| ~~~~~~~^~
| |
| std::pair<int, int>
communication.cpp:13:50: error: cannot convert 'std::pair<int, int>' to 'int' in initialization
13 | int a = receive(), b = receive(), c = receive(), d = receive();
| ~~~~~~~^~
| |
| std::pair<int, int>
communication.cpp:13:65: error: cannot convert 'std::pair<int, int>' to 'int' in initialization
13 | int a = receive(), b = receive(), c = receive(), d = receive();
| ~~~~~~~^~
| |
| std::pair<int, int>