Pagini recente » Borderou de evaluare (job #3341246) | Borderou de evaluare (job #3326981) | Borderou de evaluare (job #1640645) | Borderou de evaluare (job #3350151) | Borderou de evaluare (job #3338182)
Borderou de evaluare (job #3338182)
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 |
| 1 | 10ms | 425kb | Killed by Signal 11 | 0 |
| 2 | 10ms | 425kb | Killed by Signal 11 | 0 |
| 3 | 10ms | 425kb | Killed by Signal 11 | 0 |
| 4 | 10ms | 425kb | Killed by Signal 11 | 0 |
| 5 | 10ms | 425kb | Killed by Signal 11 | 0 |
| 6 | 9ms | 425kb | Killed by Signal 11 | 0 |
| 7 | 10ms | 430kb | Killed by Signal 11 | 0 |
| 8 | 10ms | 434kb | Killed by Signal 11 | 0 |
| 9 | 10ms | 434kb | Killed by Signal 11 | 0 |
| 10 | 10ms | 434kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |