Problem hungrycats2
User Harshithdagot
Submission Time 2026-10-26 09:49:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hungrycats2.cpp: In function ‘int main()’:
hungrycats2.cpp:11:16: error: expected ‘;’ before ‘for’
11 | sort(b+0, b+a)
| ^
| ;
12 | for(int i=0;i<a-1;i++){
| ~~~
hungrycats2.cpp:12:17: error: ‘i’ was not declared in this scope
12 | for(int i=0;i<a-1;i++){
| ^