Problem | card |
---|---|
User | cOoKiEs |
Submission Time | 2023-12-11 16:14:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int32_t main()’:
card.cpp:14:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | if(s[i]=="A"){
| ^~~
card.cpp:19:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
19 | else if(s[i]=="B"){
| ^~~