Problem monsters
User asbx
Submission Time 2023-12-02 13:17:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

monsters.cpp: In function ‘int main()’:
monsters.cpp:9:1: error: ‘arr’ was not declared in this scope
9 | arr[a];
| ^~~
monsters.cpp:16:55: error: expected primary-expression before ‘;’ token
16 | if(arr[i].first<=level&&arr[i].second>=level) level+=;
| ^