Problem | splithunny |
---|---|
User | Johnnie |
Submission Time | 2023-07-04 21:08:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘void removeHoney(int, int, std::vector<std::vector<bool> >&)’:
splithunny.cpp:6:19: error: ‘iMax’ was not declared in this scope
6 | if (i < 0 || i > iMax || j < 0 || j > jMax)
| ^~~~
splithunny.cpp:6:40: error: ‘jMax’ was not declared in this scope
6 | if (i < 0 || i > iMax || j < 0 || j > jMax)
| ^~~~
splithunny.cpp:8:10: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
8 | return 0;
| ^
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:21:9: error: expected unqualified-id before ‘int’
21 | int r, int c;
| ^~~
splithunny.cpp:22:14: error: ‘c’ was not declared in this scope
22 | cin >> r >> c;
| ^