Borderou de evaluare (job #1767223)

Utilizator vladboss2323Ciorica Vlad vladboss2323 Data 28 septembrie 2016 20:18:12
Problema Secventa 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(j-i>=k) ^ user.cpp:10:11: warning: unused variable ‘sc’ [-Wunused-variable] int i,sc,smax1=0,smax2=0,x,y,n,xc,lung=1,k,S=0,j; ^ user.cpp:10:36: warning: unused variable ‘xc’ [-Wunused-variable] int i,sc,smax1=0,smax2=0,x,y,n,xc,lung=1,k,S=0,j; ^ user.cpp:10:39: warning: unused variable ‘lung’ [-Wunused-variable] int i,sc,smax1=0,smax2=0,x,y,n,xc,lung=1,k,S=0,j; ^ user.cpp:45:22: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized] out<<x<<" "<<y<<" "<<smax2; ^ user.cpp:45:14: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] out<<x<<" "<<y<<" "<<smax2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms424kbOK!10
20ms436kbWrong answer!0
30ms432kbOK!10
40ms436kbWrong answer!0
520ms452kbOK!10
684ms476kbOK!10
7Depăşit464kbTime limit exceeded.0
8Depăşit504kbTime limit exceeded.0
9Depăşit528kbTime limit exceeded.0
10Depăşit592kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?