Problem bossbattle
User shoryu386
Submission Time 2023-12-08 16:24:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bossbattle.cpp: In function ‘int main()’:
bossbattle.cpp:43:10: error: ‘il’ was not declared in this scope
43 | while (il <= ir){
| ^~
bossbattle.cpp:43:16: error: ‘ir’ was not declared in this scope
43 | while (il <= ir){
| ^~
bossbattle.cpp:4:13: error: expected ‘,’ or ‘;’ before ‘long’
4 | #define int long long
| ^~~~
bossbattle.cpp:45:4: note: in expansion of macro ‘int’
45 | int im = (il + ir)/2;
| ^~~
bossbattle.cpp:46:17: error: ‘im’ was not declared in this scope; did you mean ‘tm’?
46 | if (((hp[x])/im + ((hp[x])%im != 0)) < cur){
| ^~
| tm
bossbattle.cpp:52:7: error: ‘ians’ was not declared in this scope
52 | hhh[ians].push_back(x);
| ^~~~