Borderou de evaluare (job #1489500)
Utilizator | Data | 21 septembrie 2015 12:04:04 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘int IntHash<U>::hash(const int&)’:
user.cpp:74:14: error: ‘size’ was not declared in this scope
return key%size;
^
user.cpp: In member function ‘int Hash<T, U>::find(const T&) [with T = int; U = bool]’:
user.cpp:27:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In member function ‘int IntHash<U>::hash(const int&) [with U = bool]’:
user.cpp:75:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !