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

Compile Error

wabot.cpp: In function ‘int32_t main()’:
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,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from wabot.cpp:1:
/usr/include/c++/9/bits/vector.tcc:198:5: note: candidate: ‘std::vector<_Tp