Problem globalwarming
User chickengoat
Submission Time 2025-12-05 11:26:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int main()’:
globalwarming.cpp:41:38: error: ‘su’ was not declared in this scope; did you mean ‘s’?
41 | bool left = (idx > 0 && !su
| ^~
| s
globalwarming.cpp:41:40: error: expected ‘)’ at end of input
41 | bool left = (idx > 0 && !su
| ~ ~~^
| )
globalwarming.cpp:41:38: error: expected ‘}’ at end of input
41 | bool left = (idx > 0 && !su
| ^~
globalwarming.cpp:40:32: note: to match this ‘{’
40 | for(ll idx : justsunk) {
| ^
globalwarming.cpp:41:38: error: expected ‘}’ at end of input
41 | bool left = (idx > 0 && !su
| ^~
globalw