Borderou de evaluare (job #3177878)
Utilizator | Data | 30 noiembrie 2023 13:42:10 | |
---|---|---|---|
Problema | Deque | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:1: error: 'nt' does not name a type; did you mean 'int'?
8 | nt v[5000010];
| ^~
| int
main.cpp: In function 'int main()':
main.cpp:15:16: error: 'v' was not declared in this scope
15 | fin >> v[i];
| ^
main.cpp:19:30: error: 'v' was not declared in this scope
19 | while(!dq.empty() && v[dq.back()] >= v[i]){
| ^
main.cpp:24:26: error: 'v' was not declared in this scope
24 | long long int suma = v[dq.front()];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !