Problem | card |
---|---|
User | wneedywelon |
Submission Time | 2023-11-10 19:41:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:15:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
15 | while (s[i]!="."){
| ^~~
card.cpp:16:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
16 | if (s[i]=="A"){
| ^~~
card.cpp:20:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
20 | else if (s[i]=="B"){
| ^~~