Problem toxic2
User cookiemonster735
Submission Time 2026-07-19 18:26:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

toxic2.cpp: In function ‘void determine_type(int)’:
toxic2.cpp:10:21: error: ‘query_machine’ was not declared in this scope
10 | vector<int> res = query_machine(samples);
| ^~~~~~~~~~~~~
toxic2.cpp:18:32: error: expected ‘;’ before ‘}’ token
18 | istoxic[j] = (toxiccnt > 0)
| ^
| ;
19 | }
| ~
toxic2.cpp:33:2: error: ‘answer_type’ was not declared in this scope
33 | answer_type(results);
| ^~~~~~~~~~~