Borderou de evaluare (job #2245231)
Utilizator | Data | 24 septembrie 2018 21:15:19 | |
---|---|---|---|
Problema | Cu mâinile curate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:15:1: error: ‘vector’ does not name a type
vector<int>s[DM];
^~~~~~
user.cpp: In function ‘void update(int)’:
user.cpp:19:5: error: ‘s’ was not declared in this scope
s[b].clear();
^
user.cpp: In function ‘int query(int)’:
user.cpp:45:5: error: ‘vector’ was not declared in this scope
vector<int>::iterator it;
^~~~~~
user.cpp:45:12: error: expected primary-expression before ‘int’
vector<int>::iterator it;
^~~
user.cpp:48:9: error: ‘it’ was not declared in this scope
it=upper_bound(s[i].begin(),s[i].end(),f);
^~
user.cpp:48:24: error: ‘s’ was not declared in this scope
it=upper_bound(s[i].begin(),s[i].end(),f);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !