Problem | trollingbribritt |
---|---|
User | JerryCodebreaker |
Submission Time | 2024-12-14 09:24:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
trollingbribritt.cpp: In function ‘int main()’:
trollingbribritt.cpp:6:2: error: expected initializer before ‘deque’
6 | deque<int>v;
| ^~~~~
trollingbribritt.cpp:10:18: error: ‘a’ was not declared in this scope
10 | cin>>a;
| ^
trollingbribritt.cpp:11:4: error: ‘v’ was not declared in this scope
11 | v.push_back(a);
| ^
trollingbribritt.cpp:14:13: error: ‘v’ was not declared in this scope
14 | if(t==2&&!v.empty()){
| ^
trollingbribritt.cpp:18:18: error: ‘a’ was not declared in this scope
18 | cin>>a;
| ^
trollingbribritt.cpp:19:12: error: ‘v’ was not declared in this scope
19 | if(a>v.size) cout<<-1;
| ^
trollingbribritt.cpp: At global scope:
trollingbribritt.cpp:24:1: error: expected declaration before ‘}’ token
24 | }
| ^