Borderou de evaluare (job #3336222)

Utilizator tredieuneSavu Stefan tredieune Data 24 ianuarie 2026 13:51:08
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: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; | ^~~~~ 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; | ^~~~~
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?