Problem splithunny
User cheryltkx
Submission Time 2026-07-25 10:46:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp: In function ‘int main()’:
splithunny.cpp:11:19: error: expected primary-expression before ‘<’ token
11 | for (int j=1;;j=<C;j++) cin>>grid[i][j];
| ^
splithunny.cpp:11:21: error: expected ‘)’ before ‘;’ token
11 | for (int j=1;;j=<C;j++) cin>>grid[i][j];
| ~ ^
| )
splithunny.cpp:11:22: error: ‘j’ was not declared in this scope
11 | for (int j=1;;j=<C;j++) cin>>grid[i][j];
| ^
splithunny.cpp:17:17: error: expected primary-expression before ‘<’ token
17 | for (int i=1;i=<R;i++){
| ^
splithunny.cpp:18:18: error: expected primary-expression before ‘<’ token
18 | for (int j=1;i=<C; j++){
| ^
splithunny.cpp:21:4: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
21 | cnt++;
| ^~~