Problem monsters
User asbx
Submission Time 2023-12-02 13:16:51
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],arr1[a];
| ^~~
monsters.cpp:9:8: error: ‘arr1’ was not declared in this scope
9 | arr[a],arr1[a];
| ^~~~
monsters.cpp:12:9: error: ‘makepair’ was not declared in this scope
12 | arr[i]=makepair(b,c);
| ^~~~~~~~
monsters.cpp:16:55: error: expected primary-expression before ‘;’ token
16 | if(arr[i].first<=level&&arr[i].second>=level) level+=;
| ^