Problem card
User MintTea
Submission Time 2024-01-12 14:54:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int32_t main()’:
card.cpp:20:18: error: missing template arguments before ‘.’ token
20 | auto n = deque.at(0);
| ^
card.cpp:21:9: error: expected unqualified-id before ‘.’ token
21 | deque.pop_front();
| ^
card.cpp:22:9: error: expected unqualified-id before ‘.’ token
22 | deque.push_back(n);
| ^
card.cpp:25:18: error: missing template arguments before ‘.’ token
25 | auto n = deque.at(1);
| ^
card.cpp:26:9: error: expected unqualified-id before ‘.’ token
26 | deque.erase(1);
| ^
card.cpp:27:9: error: expected unqualified-id before ‘.’ token
27 | deque.push_back(n);
| ^
card.cpp:33:15: error: missing template arguments before ‘.’ token
33 | cout << deque.at(outid-1) << " " << deque.at(outid) << " " << deque.at(outid+1)
|