Borderou de evaluare (job #3237106)

Utilizator tudorvoieVoie Tudor tudorvoie Data 4 iulie 2024 22:17:40
Problema Secventa 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:30: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 33 | fout << b << " " << c << " " << a; | ^~~ main.cpp:24:25: note: 'c' was declared here 24 | int a = INT_MIN, b, c; | ^ main.cpp:33:18: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] 33 | fout << b << " " << c << " " << a; | ^~~ main.cpp:24:22: note: 'b' was declared here 24 | int a = INT_MIN, b, c; | ^ main.cpp:13:14: warning: 'suma' may be used uninitialized [-Wmaybe-uninitialized] 13 | suma = suma + v[i]; | ~~~~~^~~~~~~~~~~~~ main.cpp:9:46: note: 'suma' was declared here 9 | int n, k, v[50001], sumepartiale[50001], suma, ssm[50001], in[50001]; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbWrong answer!0
20ms303kbWrong answer!0
30ms303kbWrong answer!0
40ms303kbWrong answer!0
50ms303kbOK!10
61ms557kbOK!10
71ms557kbOK!10
81ms819kbOK!10
92ms819kbWrong answer!0
103ms1081kbWrong answer!0
Punctaj total40

Ceva nu functioneaza?