Borderou de evaluare (job #604195)

Utilizator avatar StefanSan Stanescu Stefan StefanSan IP ascuns
Problemă Traseu (clasele 11 și 12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 20 aug. 2021 11:24:58 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:24:13: warning: array subscript 2 is above array bounds of 'int [2][502]' [-Warray-bounds] 24 | dp[2][1] = a[2][1] + a[1][1]; | ~~~~^ main.cpp:10:5: note: while referencing 'dp' 10 | int dp[2][502]; | ^~ main.cpp:27:64: warning: array subscript 2 is above array bounds of 'int [2][502]' [-Warray-bounds] 27 | dp[2][j] = a[i][j] + max(dp[1][j], dp[2][j - 1]); | ~~~~^ main.cpp:27:29: warning: array subscript 2 is above array bounds of 'int [2][502]' [-Warray-bounds] 27 | dp[2][j] = a[i][j] + max(dp[1][j], dp[2][j - 1]); | ~~~~^ main.cpp:10:5: note: while referencing 'dp' 10 | int dp[2][502]; | ^~ main.cpp:31:20: warning: array subscript 2 is above array bounds of 'int [2][502]' [-Warray-bounds] 31 | out << dp[2][m]; | ~~~~^ main.cpp:10:5: note: while referencing 'dp' 10 | int dp[2][502]; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb Killed by Signal 11 0
4 1 ms 262 kb Killed by Signal 11 0
5 1 ms 258 kb Killed by Signal 11 0
6 1 ms 262 kb Killed by Signal 11 0
7 1 ms 262 kb Killed by Signal 11 0
8 19 ms 524 kb Killed by Signal 11 0
9 42 ms 1048 kb Killed by Signal 11 0
10 69 ms 1179 kb Killed by Signal 11 0
Punctaj total 20