Problem toxic
User Xiaoyang
Submission Time 2023-05-06 19:48:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

toxic.cpp: In function ‘void bsta(int, int)’:
toxic.cpp:39:5: error: ‘query_sample’ was not declared in this scope
39 | if(query_sample(left)<left.size()){
| ^~~~~~~~~~~~
toxic.cpp: In function ‘void determine_type(int)’:
toxic.cpp:58:8: error: ‘query_sample’ was not declared in this scope
58 | while(query_sample(tmp)<tmp.size()){
| ^~~~~~~~~~~~
toxic.cpp:79:12: error: ‘query_sample’ was not declared in this scope
79 | int mask=query_sample(tmp2);
| ^~~~~~~~~~~~
toxic.cpp:89:26: error: ‘answer_type’ was not declared in this scope
89 | rep(i,1,n+1)if(toxic[i])answer_type(i,'T');
| ^~~~~~~~~~~
toxic.cpp:90:20: error: ‘answer_type’ was not declared in this scope
90 | for(auto x:strong)answer_type(x,'S');
| ^~~~~~~~~~~
toxic.cpp:91:18: error: ‘answer_type’ was not declared in this scope
91 | for(auto x:weak)answ