Borderou de evaluare (job #1715549)

Utilizator mariakKapros Maria mariak Data 11 iunie 2016 00:35:28
Problema Joc13 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ user.cpp:21:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^ user.cpp: In function ‘void solve()’: user.cpp:29:36: warning: array subscript is above array bounds [-Warray-bounds] dp[1][1][1] = dp[0][1][1] + a[1][1]; ^ user.cpp:29:9: warning: array subscript is above array bounds [-Warray-bounds] dp[1][1][1] = dp[0][1][1] + a[1][1]; ^ user.cpp:39:31: warning: array subscript is above array bounds [-Warray-bounds] dp[1][j][1] += a[1][j]; ^ user.cpp:39:27: warning: array subscript is above array bounds [-Warray-bounds] dp[1][j][1] += a[1][j]; ^ user.cpp:39:31: warning: array subscript is above array bounds [-Warray-bounds] dp[1][j][1] += a[1][j]; ^ user.cpp: In function ‘void write()’: user.cpp:46:28: warning: array subscript is above array bounds [-Warray-bounds] sol = Max(sol, dp[1][n][l]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK10
20ms444kbOK10
30ms444kbOK10
40ms448kbOK10
50ms444kbOK10
60ms480kbKilled by signal 11(SIGSEGV).0
70ms576kbKilled by signal 11(SIGSEGV).0
80ms604kbKilled by signal 11(SIGSEGV).0
90ms628kbKilled by signal 11(SIGSEGV).0
100ms652kbKilled by signal 11(SIGSEGV).0
Punctaj total50

Ceva nu functioneaza?