Problem splithunny
User ensonchew
Submission Time 2025-08-19 14:45:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp: In function ‘void bfs(long long int, long long int)’:
splithunny.cpp:19:28: error: ‘i’ was not declared in this scope
19 | for (int k = 0; k < 4; ++i){
| ^
splithunny.cpp:21:29: error: ‘bfsr’ was not declared in this scope; did you mean ‘bfs’?
21 | if (nexti < 0 || nexti > bfsr || nextj < 0 || nextj > bfsc) continue;
| ^~~~
| bfs
splithunny.cpp:21:58: error: ‘bfsc’ was not declared in this scope; did you mean ‘bfs’?
21 | if (nexti < 0 || nexti > bfsr || nextj < 0 || nextj > bfsc) continue;
| ^~~~
| bfs
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:48:11: error: expected ‘;’ before ‘}’ token
48 | a += 1
| ^
|