Borderou de evaluare (job #3336255)

Utilizator tredieuneSavu Stefan tredieune Data 24 ianuarie 2026 14:22:49
Problema Studenti Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:69:19: warning: 'h_poz2' may be used uninitialized [-Wmaybe-uninitialized] 69 | if (i != h_poz2 && i != g_poz2) | ~~^~~~~~~~~ main.cpp:8:119: note: 'h_poz2' was declared here 8 | long long total_max = 8000000001,n,i,h[301],j,g[301],h_max = 0,g_max = 0,h_poz,g_poz,g_max2,h_max2,cc1,cc2,g_poz2,h_poz2; | ^~~~~~ main.cpp:69:34: warning: 'g_poz2' may be used uninitialized [-Wmaybe-uninitialized] 69 | if (i != h_poz2 && i != g_poz2) | ~~^~~~~~~~~ main.cpp:8:112: note: 'g_poz2' was declared here 8 | long long total_max = 8000000001,n,i,h[301],j,g[301],h_max = 0,g_max = 0,h_poz,g_poz,g_max2,h_max2,cc1,cc2,g_poz2,h_poz2; | ^~~~~~ main.cpp:30:41: warning: 'g_poz' may be used uninitialized [-Wmaybe-uninitialized] 30 | if (h_poz != j && g_poz != j) | ~~~~~~^~~~ main.cpp:8:84: note: 'g_poz' was declared here 8 | long long total_max = 8000000001,n,i,h[301],j,g[301],h_max = 0,g_max = 0,h_poz,g_poz,g_max2,h_max2,cc1,cc2,g_poz2,h_poz2; | ^~~~~ main.cpp:30:27: warning: 'h_poz' may be used uninitialized [-Wmaybe-uninitialized] 30 | if (h_poz != j && g_poz != j) | ~~~~~~^~~~ main.cpp:8:78: note: 'h_poz' was declared here 8 | long long total_max = 8000000001,n,i,h[301],j,g[301],h_max = 0,g_max = 0,h_poz,g_poz,g_max2,h_max2,cc1,cc2,g_poz2,h_poz2; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
20ms303kbOK1010
30ms303kbOK1010
40ms303kbIncorect00
50ms303kbIncorect0
60ms303kbIncorect0
80ms303kbOK10
70ms303kbIncorect00
90ms303kbOK10
100ms303kbOK1010
Punctaj total30

Ceva nu functioneaza?