Borderou de evaluare (job #1675451)

Utilizator MihneaGabrielMihnea-Gabriel Manolescu MihneaGabriel Data 5 aprilie 2016 12:28:43
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:11: warning: statement has no effect [-Wunused-value] x[1000]; ^ user.cpp:25:11: warning: statement has no effect [-Wunused-value] y[1000]; ^ user.cpp:22:35: warning: unused variable ‘p1’ [-Wunused-variable] int n,x[1000],y[1000],i,nrt=0,p1 , p2 , k , j ; ^ user.cpp:22:40: warning: unused variable ‘p2’ [-Wunused-variable] int n,x[1000],y[1000],i,nrt=0,p1 , p2 , k , j ; ^ user.cpp:45:36: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized] sort(a+1,a+k+1,sortare); if(x[j]-x[i]!=0) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms19968kbWrong answer!0
2288ms19980kbWrong answer!0
324ms19972kbOk!10
4288ms19976kbWrong answer!0
524ms19968kbOk!10
624ms19976kbOk!10
7284ms19976kbWrong answer!0
880ms19976kbWrong answer!0
9284ms19972kbWrong answer!0
10284ms19976kbWrong answer!0
Punctaj total30

Ceva nu functioneaza?