Problem card
User vadar2525
Submission Time 2025-08-20 16:41:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int main()’:
card.cpp:19:4: error: expected ‘,’ or ‘;’ before ‘a’
19 | a.push_back(s);
| ^
card.cpp:20:6: error: request for member ‘pop_front’ in ‘a’, which is of non-class type ‘char [m]’
20 | a.pop_front;
| ^~~~~~~~~
card.cpp:24:6: error: request for member ‘push_back’ in ‘a’, which is of non-class type ‘char [m]’
24 | a.push_back(h);
| ^~~~~~~~~
card.cpp:25:6: error: request for member ‘erase’ in ‘a’, which is of non-class type ‘char [m]’
25 | a.erase(1);
| ^~~~~