Problem wabot
User JhoCyber
Submission Time 2025-01-11 20:49:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wabot.cpp: In function ‘int32_t main()’:
wabot.cpp:19:30: error: expected ‘;’ before ‘)’ token
19 | for(size_t i=0;i<a.size()){
| ^
| ;
wabot.cpp:34:34: error: ‘new_complexity’ was not declared in this scope; did you mean ‘complexity’?
34 | nl.emplace_back(cl+1,new_complexity);
| ^~~~~~~~~~~~~~
| complexity
wabot.cpp:38:15: error: no match for ‘operator=’ (operand types are ‘std::vector<std::pair<long long int, long long int> >’ and ‘std::vector<long long int>’)
38 | a=nl;
| ^~
In file included from /usr/include/c++/9/vector:72,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,