Problem card
User AwkUngenially
Submission Time 2025-04-05 11:55:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int main()’:
card.cpp:11:2: error: ‘q’ was not declared in this scope
11 | q = 0;
| ^
card.cpp:13:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | while (cin >> c && c != ".") {
| ^~~
card.cpp:14:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | if (c == "A") {
| ^~~