Problem hungrycats2
User Hatrix
Submission Time 2026-10-26 10:28:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hungrycats2.cpp: In function ‘int main()’:
hungrycats2.cpp:17:3: error: expected ‘}’ before ‘else’
17 | else {
| ^~~~
hungrycats2.cpp:15:16: note: to match this ‘{’
15 | if(h[i] < n) {
| ^