Problem | seats2 |
---|---|
User | jamestan |
Submission Time | 2024-11-16 17:22:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
seats2.cpp: In function ‘int main()’:
seats2.cpp:12:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
12 | if (s[i]=="#" && s[i+1]=='.' && s[i+2]=='#') c++;
| ^~~