Problem seats2
User paaaaaaaaaaaaaaaaaaa
Submission Time 2024-11-08 09:14:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

seats2.cpp: In function ‘int32_t main()’:
seats2.cpp:14:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | if(s[i] == "#" && s[i + 2] == "#" && s[i + 1] == "."){
| ^~~
seats2.cpp:14:39: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | if(s[i] == "#" && s[i + 2] == "#" && s[i + 1] == "."){
| ^~~
seats2.cpp:14:58: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | if(s[i] == "#" && s[i + 2] == "#" && s[i + 1] == "."){
| ^~~