Problem globalwarming
User boaznumberd5555
Submission Time 2026-02-24 19:42:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int32_t main()’:
globalwarming.cpp:41:25: error: expected ‘;’ before ‘{’ token
41 | if(curheight != height{
| ^
| ;
globalwarming.cpp:50:30: error: expected ‘)’ before ‘;’ token
50 | height = arr[i].first;
| ^
| )
globalwarming.cpp:41:5: note: to match this ‘(’
41 | if(curheight != height{
| ^