Borderou de evaluare (job #2397160)
Utilizator | Data | 4 aprilie 2019 11:14:38 | |
---|---|---|---|
Problema | Zumzi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:1: error: 'vector' does not name a type
vector< int > f;
^~~~~~
main.cpp: In function 'bool ok(int)':
main.cpp:14:22: error: 'f' was not declared in this scope
if((*lower_bound(f.begin(), f.end(), x)) == x)
^
main.cpp: In function 'int main()':
main.cpp:30:9: error: 'f' was not declared in this scope
f.push_back(tmp);
^
main.cpp:32:10: error: 'f' was not declared in this scope
sort(f.begin(), f.end());
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !