Problem splithunny
User aliceting2021
Submission Time 2026-07-25 10:51:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp: In function ‘int main()’:
splithunny.cpp:5:15: error: unable to find numeric literal operator ‘operator""int’
5 | for(int J=0int R, C);
| ^~~~
splithunny.cpp:6:10: error: ‘R’ was not declared in this scope
6 | cin>>R>>C;
| ^
splithunny.cpp:6:13: error: ‘C’ was not declared in this scope
6 | cin>>R>>C;
| ^
splithunny.cpp:7:5: error: expected primary-expression before ‘char’
7 | char grid[R][C];
| ^~~~
splithunny.cpp:6:15: error: expected ‘)’ before ‘char’
6 | cin>>R>>C;
| ^
| )
7 | char grid[R][C];
| ~~~~
splithunny.cpp:5:8: note: to match this ‘(’
5 | for(int J=0int R, C);
| ^
splithunny.cpp:8:19: error: ‘R’ was not declared in this scope
8 | for(int i=0;i<R;i++){