| Problem | card |
|---|---|
| User | xiaocai918 |
| Submission Time | 2026-11-13 09:25:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:20:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
20 | if (cin >> d && d == "A") {
| ^~~
card.cpp:23:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
23 | } else if (cin >> d && d == "B") {
| ^~~
card.cpp:26:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
26 | } else if (cin >> d && d == " ") {
| ^~~