Problem toxic
User Ok
Submission Time 2024-01-07 02:01:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

toxic.cpp: In function ‘int squery(std::vector<int>)’:
toxic.cpp:82:19: error: ‘class std::vector<int>’ has no member named ‘sise’; did you mean ‘size’?
82 | int N = v.sise();
| ^~~~
| size
toxic.cpp:103:13: error: redeclaration of ‘int num’
103 | int num = fquery(v);
| ^~~
toxic.cpp:81:13: note: ‘int num’ previously declared here
81 | int num = 0;
| ^~~
toxic.cpp:124:12: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
124 | return num;
| ^~~
| enum
toxic.cpp: In function ‘void determine_type(int)’:
toxic.cpp:254:12: error: too few arguments to function ‘int fquery(std::vector<int>)’
254 | fquery();
| ^
toxic.cpp:31:5: note: declared here
31 | int fquery(vector<int> v){
| ^~~~~~