| Problem | splithunny |
|---|---|
| User | liuhc1017 |
| Submission Time | 2026-04-18 09:54:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘int32_t main()’:
splithunny.cpp:42:23: error: ‘n’ was not declared in this scope
42 | for (int i = 0; i < n + 2; i++) {
| ^
splithunny.cpp:44:7: error: ‘grid’ was not declared in this scope
44 | grid[i][j] = '.';
| ^~~~
splithunny.cpp:48:24: error: ‘n’ was not declared in this scope
48 | for (int i = 1; i <= n; i++) {
| ^
splithunny.cpp:50:11: error: ‘grid’ was not declared in this scope
50 | if (grid[i][j] == 'H') {
| ^~~~