Borderou de evaluare (job #2195410)
Utilizator | Data | 16 aprilie 2018 12:25:40 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:1: error: ‘vector’ does not name a type
vector< vector<int> > a;
^~~~~~
user.cpp: In function ‘void Add(int)’:
user.cpp:17:5: error: ‘a’ was not declared in this scope
a[h].push_back(x);
^
user.cpp: In function ‘void Delete(int)’:
user.cpp:22:34: error: ‘a’ was not declared in this scope
for (unsigned int i = 0; i < a[h].size(); i ++)
^
user.cpp: In function ‘bool Query(int)’:
user.cpp:32:34: error: ‘a’ was not declared in this scope
for (unsigned int i = 0; i < a[h].size(); i ++)
^
user.cpp: In function ‘int main()’:
user.cpp:40:5: error: ‘a’ was not declared in this scope
a = vector< vector<int> >(MOD);
^
user.cpp:40:9: error: ‘vector’ was not declared in this scope
a = vector< vector<int> >(MOD);
^~~~~~
user.cpp:40:24: error: expected primary-expression before ‘int’
a = vector< vector<int> >(MOD);
^~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !