Problem | card |
---|---|
User | wongethan8192 |
Submission Time | 2023-03-08 11:51:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:7:39: error: ‘class std::vector<int>’ has no member named ‘pop_front’
7 | for(char&z:c){if(z=='A'){int e=d[0];d.pop_front();d.push_back(e);}else if(z=='B'){int e=d[1],f=d[0];d.pop_front();d.pop_front();d.push_back(e);d.push_front(f);}}
| ^~~~~~~~~
card.cpp:7:103: error: ‘class std::vector<int>’ has no member named ‘pop_front’
7 | for(char&z:c){if(z=='A'){int e=d[0];d.pop_front();d.push_back(e);}else if(z=='B'){int e=d[1],f=d[0];d.pop_front();d.pop_front();d.push_back(e);d.push_front(f);}}
| ^~~~~~~~~
card.cpp:7:117: error: ‘class std::vector<int>’ has no member named ‘pop_front’
7 | for(char&z:c){if(z=='A'){int e=d[0];d.pop_front();d.push_back(e);}else if(z=='B'){int e=d[1],f=d[0];d.pop_front();d.pop_front();d.push_back(e);d.push_front(f);