Borderou de evaluare (job #1990668)
Utilizator | Data | 12 iunie 2017 22:31:32 | |
---|---|---|---|
Problema | Elementul majoritar | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:5: error: ‘vector’ is not a member of ‘std’
std::vector<int> myV(nV);
^
user.cpp:10:17: error: expected primary-expression before ‘int’
std::vector<int> myV(nV);
^
user.cpp:10:17: error: expected ‘;’ before ‘int’
user.cpp:14:19: error: ‘myV’ was not declared in this scope
fileIn >> myV[i];
^
user.cpp:26:20: error: ‘myV’ was not declared in this scope
for (int val : myV) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !