Borderou de evaluare (job #2889466)
Utilizator | Data | 12 aprilie 2022 20:03:08 | |
---|---|---|---|
Problema | Deque | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:10: error: conflicting declaration 'std::ofstream f'
5 | ofstream f("deque.out");
| ^
main.cpp:4:10: note: previous declaration as 'std::ifstream f'
4 | ifstream f("deque.in");
| ^
main.cpp:7:15: error: expected initializer before '.' token
7 | const int maxx.dim=5000005;
| ^
main.cpp:8:7: error: 'maxx' was not declared in this scope
8 | int v[maxx.dim];
| ^~~~
main.cpp: In function 'int main()':
main.cpp:18:12: error: 'v' was not declared in this scope
18 | f>>v[i];
| ^
main.cpp:22:45: error: 'v' was not declared in this scope
22 | while(!mini.empty() and mini.back()>v[i])
| ^
main.cpp:38:24: error: 'v' was not declared in this scope
38 | mini.push_back(v[i]);
| ^
main.cpp:41:5: error: 'g' was not declared in this scope
41 | g<<sum;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !