Problem card
User mathemactics
Submission Time 2023-11-10 09:03:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp:20:15: error: missing terminating ' character
20 | if (s[i] == 'A){
| ^~~~
card.cpp: In function ‘int main()’:
card.cpp:13:19: error: expected ‘;’ before ‘<’ token
13 | for (int i = 0, i < m; i++){
| ^~
| ;
card.cpp:13:20: error: expected primary-expression before ‘<’ token
13 | for (int i = 0, i < m; i++){
| ^
card.cpp:20:12: error: invalid operands of types ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’} and ‘void’ to binary ‘operator==’
20 | if (s[i] == 'A){
card.cpp:22:18: error: expected ‘)’ before ‘;’ token
22 | dq.pop_front();
| ^
| )
card.cpp:20:6: note: to match this ‘(’
20 | if (s[i] == 'A){
| ^
card.cpp:22:16: error: could not convert ‘dq.std::deque<int>::pop_front()’ f