Problem illuminate
User boaznumberd5555
Submission Time 2023-07-14 15:04:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

illuminate.cpp: In function ‘int main()’:
illuminate.cpp:13:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | if (arr[i%h][i/h] == "#")++walls;
| ^~~
illuminate.cpp:18:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
18 | if(arr[i][j] == "#"){
| ^~~
illuminate.cpp:30:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
30 | if(arr[i][j] == "#"){
| ^~~