Borderou de evaluare (job #1474075)

Utilizator maresioanMares Ioan maresioan Data 20 august 2015 21:09:05
Problema 3secv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void sub()’: user.cpp:44:26: warning: array subscript is above array bounds [-Warray-bounds] B[1]=p1;B[2]=p2;B[3]=max(A1,A2,A3)-min(A1,A2,A3); ^ user.cpp:45:13: warning: array subscript is above array bounds [-Warray-bounds] if(C[3]==0) C[3]=B[3]; ^ user.cpp:45:22: warning: array subscript is above array bounds [-Warray-bounds] if(C[3]==0) C[3]=B[3]; ^ user.cpp:46:18: warning: array subscript is above array bounds [-Warray-bounds] if(B[3]<C[3]) {C[1]=B[1];C[2]=B[2];C[3]=B[3];} ^ user.cpp:46:45: warning: array subscript is above array bounds [-Warray-bounds] if(B[3]<C[3]) {C[1]=B[1];C[2]=B[2];C[3]=B[3];} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbIncorect0
220ms400kbOK10
3Depăşit584kbTime limit exceeded.0
40ms404kbIncorect0
5Depăşit584kbTime limit exceeded.0
60ms404kbIncorect0
70ms408kbIncorect0
80ms408kbIncorect0
90ms408kbIncorect0
100ms408kbIncorect0
Punctaj total10

Ceva nu functioneaza?