Problem toxic
User HighLithop
Submission Time 2025-01-18 10:18:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

toxic.cpp: In function ‘void determine_type(int)’:
toxic.cpp:11:22: error: ‘query_machine’ was not declared in this scope
11 | vector<int> result=query_machine({0,i});
| ^~~~~~~~~~~~~
toxic.cpp:19:14: error: cannot convert ‘std::vector<char>’ to ‘int’
19 | answer_type(unidentified);
| ^~~~~~~~~~~~
| |
| std::vector<char>
In file included from toxic.cpp:1:
toxic.h:5:22: note: initializing argument 1 of ‘void answer_type(int, char)’
5 | void answer_type(int x, char c);
| ~~~~^