Borderou de evaluare (job #3127290)
Utilizator | Data | 7 mai 2023 14:20:23 | |
---|---|---|---|
Problema | Vila 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:5: error: 'vector' was not declared in this scope
11 | vector <long long> a(n+2);
| ^~~~~~
main.cpp:4:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
3 | #include <deque>
+++ |+#include <vector>
4 | using namespace std;
main.cpp:11:13: error: expected primary-expression before 'long'
11 | vector <long long> a(n+2);
| ^~~~
main.cpp:16:14: error: 'a' was not declared in this scope
16 | fin>>a[i];
| ^
main.cpp:20:15: error: 'a' was not declared in this scope
20 | a[i] > a[dmax.back()])
| ^
main.cpp:24:40: error: 'a' was not declared in this scope
24 | while(dmin.empty() == false && a[i] < a[dmin.back()])
| ^
main.cpp:33:18: error: 'a' was not declared in this scope
33 | if(dif > a[dmax.front()])
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !