Borderou de evaluare (job #1772870)

Utilizator alxi.2001Alex Ionescu alxi.2001 Data 7 octombrie 2016 09:26:23
Problema Reactivi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:20: warning: unused variable ‘j’ [-Wunused-variable] int a[8001][2],n,i,j,ok=1,nr=1; ^ user.cpp:22:18: warning: array subscript is above array bounds [-Warray-bounds] swap(a[i][2],a[i+1][2]); ^ user.cpp:22:28: warning: array subscript is above array bounds [-Warray-bounds] swap(a[i][2],a[i+1][2]); ^ user.cpp:22:18: warning: array subscript is above array bounds [-Warray-bounds] swap(a[i][2],a[i+1][2]); ^ user.cpp:22:28: warning: array subscript is above array bounds [-Warray-bounds] swap(a[i][2],a[i+1][2]); ^ user.cpp:25:20: warning: array subscript is above array bounds [-Warray-bounds] else if (a[i][2]>a[i+1][2] && a[i][1]==a[i+1][1]) ^ user.cpp:25:30: warning: array subscript is above array bounds [-Warray-bounds] else if (a[i][2]>a[i+1][2] && a[i][1]==a[i+1][1]) ^ user.cpp:26:18: warning: array subscript is above array bounds [-Warray-bounds] swap(a[i][2],a[i+1][2]); ^ user.cpp:26:28: warning: array subscript is above array bounds [-Warray-bounds] swap(a[i][2],a[i+1][2]); ^ user.cpp:31:29: warning: array subscript is above array bounds [-Warray-bounds] cout<<a[i][1]<<' '<<a[i][2]<<'\n'; ^ user.cpp:35:24: warning: array subscript is above array bounds [-Warray-bounds] if (a[i][1]>=a[i-1][2]) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms444kbOK1010
20ms436kbIncorect00
34ms448kbIncorect00
4Depăşit456kbTime limit exceeded.00
544ms468kbIncorect00
60ms440kbIncorect0
7Depăşit452kbTime limit exceeded.0
88ms444kbIncorect0
9Depăşit456kbTime limit exceeded.0
100ms432kbOK10
Punctaj total10

Ceva nu functioneaza?