Borderou de evaluare (job #1795618)

Utilizator anisca22Ana Baltaretu anisca22 Data 2 noiembrie 2016 18:39:33
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:44: warning: array subscript is above array bounds [-Warray-bounds] mat[2][j]=max(max(mat[2][j-1],mat[1][j]),mat[1][j-p[i].first]+p[i].second); ^ user.cpp:19:26: warning: array subscript is above array bounds [-Warray-bounds] mat[2][j]=max(max(mat[2][j-1],mat[1][j]),mat[1][j-p[i].first]+p[i].second); ^ user.cpp:20:41: warning: array subscript is above array bounds [-Warray-bounds] else mat[2][j]=max(mat[2][j-1],mat[1][j]); ^ user.cpp:20:27: warning: array subscript is above array bounds [-Warray-bounds] else mat[2][j]=max(mat[2][j-1],mat[1][j]); ^ user.cpp:25:67: warning: array subscript is above array bounds [-Warray-bounds] mat[1][j]=max(max(mat[1][j-1],mat[2][j]),mat[2][j-p[i].first]+p[i].second); ^ user.cpp:25:56: warning: array subscript is above array bounds [-Warray-bounds] mat[1][j]=max(max(mat[1][j-1],mat[2][j]),mat[2][j-p[i].first]+p[i].second); ^ user.cpp:26:53: warning: array subscript is above array bounds [-Warray-bounds] else mat[1][j]=max(mat[1][j-1],mat[2][j]); ^ user.cpp:30:20: warning: array subscript is above array bounds [-Warray-bounds] fout<<mat[2][g]<<"\n"; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms700kbKilled by signal 6(SIGABRT).00
24ms704kbKilled by signal 6(SIGABRT).0
34ms704kbKilled by signal 6(SIGABRT).00
44ms700kbKilled by signal 6(SIGABRT).0
54ms700kbKilled by signal 6(SIGABRT).0
68ms708kbKilled by signal 6(SIGABRT).00
78ms708kbKilled by signal 6(SIGABRT).0
812ms712kbKilled by signal 6(SIGABRT).00
912ms704kbKilled by signal 6(SIGABRT).0
1012ms708kbKilled by signal 6(SIGABRT).0
11120ms744kbKilled by signal 6(SIGABRT).00
12104ms740kbKilled by signal 6(SIGABRT).0
13104ms740kbKilled by signal 6(SIGABRT).0
140ms480kbKilled by signal 11(SIGSEGV).00
150ms480kbKilled by signal 11(SIGSEGV).0
160ms480kbKilled by signal 11(SIGSEGV).0
17204ms740kbKilled by signal 6(SIGABRT).00
180ms476kbKilled by signal 11(SIGSEGV).0
190ms476kbKilled by signal 11(SIGSEGV).0
200ms476kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?