Borderou de evaluare (job #1834187)
Utilizator | Data | 24 decembrie 2016 01:18:00 | |
---|---|---|---|
Problema | Abc2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void adauga(int, int)’:
user.cpp:20:34: warning: unused variable ‘i’ [-Wunused-variable]
int hashKey = value1 % MOD1, i;
^
user.cpp: In function ‘int cauta(int, int)’:
user.cpp:28:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < myHash[hashKey].size(); i++)
^
user.cpp:34:17: error: request for member ‘push_back’ in ‘poz’, which is of non-class type ‘int’
poz.push_back(i);
^
user.cpp:26:9: warning: unused variable ‘gasit’ [-Wunused-variable]
int gasit = 0, hashKey = value1 % MOD1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !