Borderou de evaluare (job #2990120)

Utilizator luca.pislaruDocOck luca.pislaru Data 7 martie 2023 15:17:09
Problema Vrejuri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:9: warning: 'petrescu' may be used uninitialized [-Wmaybe-uninitialized] 49 | dif=petrescu-dif; | ^~~~~~~~ main.cpp:19:9: note: 'petrescu' was declared here 19 | int petrescu; | ^~~~~~~~ main.cpp:50:12: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 50 | cnt-=(2*poz+1)*dif; | ~^~~~ main.cpp:9:84: note: 'poz' was declared here 9 | long long int n, k, s, st=1, dr, mijl, i, r, sum=0, val, maxx=0, tot=0, cnt=0, poz,dif; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms172kbOK10
20ms172kbIncorect0
30ms172kbIncorect0
40ms172kbIncorect0
51ms303kbIncorect0
62ms434kbIncorect0
74ms696kbIncorect0
89ms942kbIncorect0
99ms962kbIncorect0
109ms1040kbIncorect0
Punctaj total10

Ceva nu functioneaza?