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

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
card.cpp: In function ‘int main()’:
card.cpp:12:7: error: ‘i’ was not declared in this scope
12 | for (i=0;i<numc;i++){
| ^
card.cpp:16:7: error: ‘i’ was not declared in this scope
16 | for (i=0;i<inst.length();i++) {
| ^
card.cpp:19:4: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
19 | n = deque.at(0);
| ^
| yn
card.cpp:19:13: error: missing template arguments before ‘.’ token
19 | n = deque.at(0);
| ^
card.cpp:20:9: error: expected unqualified-id before ‘.’ token
20 | deque.pop_front();
| ^
card.cpp:21:9: error: expected unqualified-id before ‘.’ token
21 | deque.push_back(n);
| ^
card.cpp:24:4: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
24 | n = deque.at(1);
| ^
| yn
card.cpp:24:13: er