Borderou de evaluare (job #2238638)
Utilizator | Data | 6 septembrie 2018 19:24:07 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: error: ‘vector’ does not name a type
vector<int> h[BIG_PRIME];
^~~~~~
user.cpp: In function ‘bool exists(int)’:
user.cpp:12:15: error: ‘h’ was not declared in this scope
for(int x:h[target%BIG_PRIME])
^
user.cpp: In function ‘void insert(int)’:
user.cpp:23:9: error: ‘h’ was not declared in this scope
h[target%BIG_PRIME].push_back(target);
^
user.cpp: In function ‘void erase(int)’:
user.cpp:30:23: error: ‘h’ was not declared in this scope
for(int i=0;i<h[target%BIG_PRIME].size();i++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !