| Problem | illuminate |
|---|---|
| User | wahjsodhowasd |
| Submission Time | 2026-02-19 10:54:42 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
illuminate.cpp: In function ‘int main()’:
illuminate.cpp:11:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
11 | if(c=="."){
| ^~~
illuminate.cpp:16:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
16 | if(c=="#"){
| ^~~
illuminate.cpp:30:1: error: ‘Ans’ was not declared in this scope
30 | Ans+=arr[i][j];
| ^~~
illuminate.cpp:33:7: error: ‘Ans’ was not declared in this scope
33 | cout<<Ans;
| ^~~
illuminate.cpp:34:1: error: expected ‘}’ at end of input
34 | }
| ^
illuminate.cpp:4:7: note: to match this ‘{’
4 | main(){
| ^