| Problem | card |
|---|---|
| User | dumbfounded47 |
| Submission Time | 2026-01-14 13:00:08 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:19:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
19 | if (word[i] == "A"){V.push_back(V[0]); erase(V.begin());}
| ^~~
card.cpp:19:42: error: ‘erase’ was not declared in this scope
19 | if (word[i] == "A"){V.push_back(V[0]); erase(V.begin());}
| ^~~~~
card.cpp:20:28: error: ‘erase’ was not declared in this scope
20 | else {V.push_back(V[1]); erase(V.begin() + 1);}
| ^~~~~