Problem | card |
---|---|
User | dieunq1309 |
Submission Time | 2023-04-29 12:00:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:17:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
17 | if (str[i] == "A")
| ^~~
card.cpp:21:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
21 | if (str[i] == "B")
| ^~~