Borderou de evaluare (job #1365767)
Utilizator | Data | 28 februarie 2015 15:08:53 | |
---|---|---|---|
Problema | Deque | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:17: error: expected ‘]’ before ‘;’ token
int n, k, a[maxn;
^
user.cpp: In function ‘int main()’:
user.cpp:18:16: error: ‘a’ was not declared in this scope
fin >> a[i];
^
user.cpp:19:31: error: ‘dq’ was not declared in this scope
while(!d.empty() && a[dq.back()] >= a[i])
^
user.cpp:21:9: error: ‘dq’ was not declared in this scope
dq.push_back(i);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !