Problem monsters
User Henries
Submission Time 2024-10-16 09:05:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

monsters.cpp: In function ‘void solve(std::vector<std::pair<long long int, long long int> >)’:
monsters.cpp:32:74: error: lvalue required as left operand of assignment
32 | if (currentlevel >= v[i].first && currentlevel<=v[i].second && check = false){
| ^~~~~