Borderou de evaluare (job #839237)

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:56:39 Scor 40

Raport evaluator

Compilare: In member function 'void HashMap::remove(int)', inlined from 'int main()' at main.cpp:101:22: main.cpp:59:24: warning: 'prev' may be used uninitialized [-Wmaybe-uninitialized] 59 | next[prev] = next[i]; | ~~~~~~~~~~~^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:45:39: note: 'prev' was declared here 45 | uint hsh = calc_hash(num), i, prev; | ^~~~ In member function 'void HashMap::add(int)', inlined from 'int main()' at main.cpp:98:19: main.cpp:40:24: warning: 'prev' may be used uninitialized [-Wmaybe-uninitialized] 40 | next[prev] = lastp; | ~~~~~~~~~~~^~~~~~~ main.cpp: In function 'int main()': main.cpp:23:39: note: 'prev' was declared here 23 | 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 296 kb OK 10 10
3 1 ms 296 kb OK 10 10
4 20 ms 296 kb OK 10 0
5 23 ms 1024 kb Incorect 0
6 32 ms 1064 kb OK 10
7 81 ms 1576 kb OK 10 10
8 212 ms 3896 kb OK 10 0
9 depășit 6456 kb Time limit exceeded. 0
10 468 ms 5432 kb OK 10
Punctaj total 40