Problem splithunny
User Elliott2011
Submission Time 2024-11-15 14:33:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp: In function ‘void dfs(int, int)’:
splithunny.cpp:16:19: error: expected primary-expression before ‘>’ token
16 | if(nx < 0 or nx => h or ny <0 or ny => w)continue;
| ^
splithunny.cpp:16:39: error: expected primary-expression before ‘>’ token
16 | if(nx < 0 or nx => h or ny <0 or ny => w)continue;
| ^
splithunny.cpp: At global scope:
splithunny.cpp:24:2: error: expected initializer before ‘int’
24 | int sum=0;
| ^~~
splithunny.cpp:25:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
25 | cin >> h >> w ;
| ^~~
| sin
splithunny.cpp:26:1: error: expected unqualified-id before ‘for’
26 | for(int i=0;i<h;i++){
| ^~~
splithunny.cpp:26:13: error: ‘i’ does not name a type
26 | for(int i=0;i<h;i++){
| ^
splithunny.cpp:26:17: error