Borderou de evaluare (job #2912386)
Utilizator | Data | 8 iulie 2022 09:21:19 | |
---|---|---|---|
Problema | Deque | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:1: error: 'deque' does not name a type
7 | deque<int> q;
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:12:22: error: 'q' was not declared in this scope
12 | for(F>>a[i];!q.empty()&&a[q.back()]>=a[i];q.pop_back());
| ^
main.cpp:13:9: error: 'q' was not declared in this scope
13 | q.push_back(i);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !