Problem | toxic2 |
---|---|
User | reyj |
Submission Time | 2024-07-14 10:19:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
toxic2.cpp: In function ‘void determine_type(int)’:
toxic2.cpp:5:12: error: request for member ‘push_back’ in ‘0’, which is of non-class type ‘int’
5 | #define pb push_back
| ^~~~~~~~~
toxic2.cpp:14:25: note: in expansion of macro ‘pb’
14 | if (query_machine((0).pb(i))[0] == 2) {
| ^~
toxic2.cpp:14:7: error: ‘query_machine’ was not declared in this scope
14 | if (query_machine((0).pb(i))[0] == 2) {
| ^~~~~~~~~~~~~
toxic2.cpp:19:2: error: ‘answer_type’ was not declared in this scope
19 | answer_type(ans);
| ^~~~~~~~~~~