Borderou de evaluare (job #3338182)

Utilizator Danut2011PopaDanSebastian Danut2011 Data 1 februarie 2026 12:42:13
Problema Joc13 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:25: warning: array subscript 2 is above array bounds of 'int [2][5001]' [-Warray-bounds] 19 | dp[2][1]=a[1][1]+a[2][1]; | ~~~^ main.cpp:6:7: note: while referencing 'a' 6 | int n,a[2][5001],k,dp[2][5001],nr[2][5001]; | ^ main.cpp:19:9: warning: array subscript 2 is above array bounds of 'int [2][5001]' [-Warray-bounds] 19 | dp[2][1]=a[1][1]+a[2][1]; | ~~~~^ main.cpp:6:20: note: while referencing 'dp' 6 | int n,a[2][5001],k,dp[2][5001],nr[2][5001]; | ^~ main.cpp:20:18: warning: array subscript 2 is above array bounds of 'int [2][5001]' [-Warray-bounds] 20 | nr[1][1]=nr[2][1]=1; | ~~~~^ main.cpp:6:32: note: while referencing 'nr' 6 | int n,a[2][5001],k,dp[2][5001],nr[2][5001]; | ^~ main.cpp:21:31: warning: array subscript 2 is above array bounds of 'int [2][5001]' [-Warray-bounds] 21 | if (dp[1][1]>=dp[2][1]+a[2][2]) | ~~~^ main.cpp:6:7: note: while referencing 'a' 6 | int n,a[2][5001],k,dp[2][5001],nr[2][5001]; | ^ main.cpp:38:13: warning: array subscript 2 is above array bounds of 'int [2][5001]' [-Warray-bounds] 38 | dp[2][2]=dp[1][1]+a[1][2]+a[2][2]; | ~~~~^ main.cpp:6:20: note: while referencing 'dp' 6 | int n,a[2][5001],k,dp[2][5001],nr[2][5001]; | ^~ main.cpp:39:13: warning: array subscript 2 is above array bounds of 'int [2][5001]' [-Warray-bounds] 39 | nr[2][2]=1; | ~~~~^ main.cpp:6:32: note: while referencing 'nr' 6 | int n,a[2][5001],k,dp[2][5001],nr[2][5001]; | ^~ main.cpp:33:13: warning: array subscript 2 is above array bounds of 'int [2][5001]' [-Warray-bounds] 33 | dp[2][2]=dp[2][1]+a[2][2]; | ~~~~^ main.cpp:6:20: note: while referencing 'dp' 6 | int n,a[2][5001],k,dp[2][5001],nr[2][5001]; | ^~ main.cpp:34:13: warning: array subscript 2 is above array bounds of 'int [2][5001]' [-Warray-bounds] 34 | nr[2][2]=2; | ~~~~^ main.cpp:6:32: note: while referencing 'nr' 6 | int n,a[2][5001],k,dp[2][5001],nr[2][5001]; | ^~ main.cpp:92:15: warning: array subscript 2 is above array bounds of 'int [2][5001]' [-Warray-bounds]
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms425kbKilled by Signal 110
210ms425kbKilled by Signal 110
310ms425kbKilled by Signal 110
410ms425kbKilled by Signal 110
510ms425kbKilled by Signal 110
69ms425kbKilled by Signal 110
710ms430kbKilled by Signal 110
810ms434kbKilled by Signal 110
910ms434kbKilled by Signal 110
1010ms434kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?