Problem trollingbribritt
User JerryCodebreaker
Submission Time 2024-12-14 09:22:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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:13:13: error: ‘v’ was not declared in this scope
13 | if(t==2&&!v.empty()){
| ^
trollingbribritt.cpp:17:18: error: ‘a’ was not declared in this scope
17 | cin>>a;
| ^
trollingbribritt.cpp:18:12: error: ‘v’ was not declared in this scope
18 | if(a>v.size) cout<<-1;
| ^