Borderou de evaluare (job #839223)

Utilizator avatar ultra980 Alex Stan ultra980 IP ascuns
Problemă Hashuri (clasa a 9-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 oct. 2025 11:32:54 Scor 30

Raport evaluator

Compilare: In member function 'void HashMap::remove(long long int)', inlined from 'int main()' at main.cpp:92:22: main.cpp:54:24: warning: 'prev' may be used uninitialized [-Wmaybe-uninitialized] 54 | next[prev] = next[i]; | ~~~~~~~~~~~^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:42:39: note: 'prev' was declared here 42 | uint hsh = calc_hash(num), i, prev; | ^~~~ In member function 'void HashMap::add(long long int)', inlined from 'int main()' at main.cpp:89:19: main.cpp:37:24: warning: 'prev' may be used uninitialized [-Wmaybe-uninitialized] 37 | next[prev] = lastp; | ~~~~~~~~~~~^~~~~~~ main.cpp: In function 'int main()': main.cpp:20:39: note: 'prev' was declared here 20 | uint hsh = calc_hash(num), i, prev; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 1 ms 512 kb OK 10 10
2 1 ms 512 kb OK 10 10
3 1 ms 296 kb OK 10 10
4 20 ms 1024 kb Incorect 0 0
5 25 ms 1592 kb Incorect 0
6 32 ms 2048 kb Incorect 0
7 82 ms 2600 kb Incorect 0 0
8 271 ms 7224 kb Incorect 0 0
9 depășit 11024 kb Time limit exceeded. 0
10 594 ms 9512 kb Incorect 0
Punctaj total 30