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