Problem toxic
User Sans12345
Submission Time 2023-11-01 18:49:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

toxic.cpp: In function ‘bool death(int, int)’:
toxic.cpp:56:22: error: ‘query_sample’ was not declared in this scope
56 | return (v.size() != query_sample(v));
| ^~~~~~~~~~~~
toxic.cpp: In function ‘void strong(int, int)’:
toxic.cpp:82:15: error: ‘query_sample’ was not declared in this scope
82 | int res = query_sample(test);
| ^~~~~~~~~~~~
toxic.cpp: In function ‘void determine_type(int)’:
toxic.cpp:103:24: error: ‘answer_type’ was not declared in this scope
103 | if(idtoxic[i]) answer_type(i,'T');
| ^~~~~~~~~~~
toxic.cpp:104:30: error: ‘answer_type’ was not declared in this scope
104 | else if(idstrong[i]) answer_type(i,'S');
| ^~~~~~~~~~~
toxic.cpp:105:14: error: ‘answer_type’ was not declared in this scope
105 | else answer_type(i,'R');
| ^~~~~~~~~~~