Problem | seats2 |
---|---|
User | StormyGood |
Submission Time | 2024-11-08 08:32:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
seats2.cpp: In function ‘int main()’:
seats2.cpp:12:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
12 | if (b[i] == "#" && b[i+1] == "." && b[i+2] == "#")
| ^~~
seats2.cpp:12:32: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
12 | if (b[i] == "#" && b[i+1] == "." && b[i+2] == "#")
| ^~~
seats2.cpp:12:49: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
12 | if (b[i] == "#" && b[i+1] == "." && b[i+2] == "#")
| ^~~