Pagini recente » Borderou de evaluare (job #3268459) | Borderou de evaluare (job #2905720) | Borderou de evaluare (job #2623568) | Borderou de evaluare (job #449280) | Borderou de evaluare (job #3266660)
Borderou de evaluare (job #3266660)
Raport evaluator
Compilare:
main.cpp: In function 'bool searchHash(unsigned int)':
main.cpp:10:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for (int i = 0; i < m[r].size(); ++i) {
| ~~^~~~~~~~~~~~~
main.cpp: In function 'unsigned int hashF(std::string)':
main.cpp:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int i = 0; i < word.size(); ++i) {
| ~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:51:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for (int i = 0; i < text.size(); ++i) {
| ~~^~~~~~~~~~~~~
main.cpp:49:27: warning: unused variable 'pos' [-Wunused-variable]
49 | unsigned int res = 0, pos = 0, ans = 0;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 10 | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 1ms | 303kb | Incorect | 0 |
4 | 1ms | 303kb | Incorect | 0 |
5 | 5ms | 2514kb | Incorect | 0 |
6 | 14ms | 3825kb | Incorect | 0 |
7 | 92ms | 8802kb | Incorect | 0 |
8 | 176ms | 17203kb | Incorect | 0 |
9 | 201ms | 17350kb | Incorect | 0 |
10 | 171ms | 17133kb | Incorect | 0 |
Punctaj total | 0 |