Borderou de evaluare (job #3271804)
Raport evaluator
Compilare:
main.cpp: In member function 'uint32_t HashTable::add(uint32_t)':
main.cpp:62:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
62 | while (it != -1 && key[it].num != x)
| ~~~^~~~~
main.cpp:64:20: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
64 | if (it != -1)
| ~~~^~~~~
main.cpp: In member function 'uint32_t HashTable::find_element(uint32_t)':
main.cpp:82:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
82 | while (it != -1 && key[it].num != x)
| ~~~^~~~~
main.cpp:84:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
84 | return (it != -1);
| ~~~^~~~~
main.cpp: In member function 'uint32_t HashTable::erase_element(uint32_t)':
main.cpp:103:27: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
103 | while (it != -1 && key[it].num != x)
| ~~~^~~~~
main.cpp:108:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
108 | if (it != -1)
| ~~~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 15503kb | OK | 10 |
2 | 4ms | 9732kb | OK | 10 |
3 | 4ms | 8683kb | OK | 10 |
4 | 9ms | 14344kb | OK | 10 |
5 | 9ms | 11567kb | OK | 10 |
6 | 24ms | 16539kb | OK | 10 |
7 | 53ms | 18149kb | OK | 10 |
8 | 68ms | 18829kb | OK | 10 |
9 | 98ms | 19492kb | OK | 10 |
10 | 103ms | 19456kb | OK | 10 |
Punctaj total | 100 |