Borderou de evaluare (job #2791337)

Utilizator cezar_titianuTitianu Cezar cezar_titianu Data 30 octombrie 2021 13:10:08
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In instantiation of 'void hashtable<from>::erase(from) [with from = int]': main.cpp:66:17: required from here main.cpp:41:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 41 | if (pos2 != vec[pos].size() - 1) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp: In instantiation of 'int hashtable<from>::hash(from) [with from = int]': main.cpp:32:13: required from 'void hashtable<from>::insert(from) [with from = int]' main.cpp:63:18: required from here main.cpp:13:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 13 | for (int index = 0; index < sizeof(key); index++) { | ~~~~~~^~~~~~~~~~~~~ main.cpp: In instantiation of 'int hashtable<from>::search(from, int) [with from = int]': main.cpp:33:7: required from 'void hashtable<from>::insert(from) [with from = int]' main.cpp:63:18: required from here main.cpp:23:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int, std::allocator<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 23 | for (int index = 0; index < vec[pos].size(); index++) { | ~~~~~~^~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
131ms24227kbOK1010
228ms24199kbOK1010
330ms24207kbKilled by Signal 1100
442ms24612kbKilled by Signal 1100
522ms24211kbKilled by Signal 110
6110ms27226kbOK10
728ms23826kbKilled by Signal 1100
830ms24084kbKilled by Signal 1100
923ms24305kbKilled by Signal 110
1019ms21590kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?