Pagini recente » Diferente pentru utilizator/vanila_cpp intre reviziile 75 si 56 | Joc7 | Borderou de evaluare (job #2751576) | Borderou de evaluare (job #1523441) | Borderou de evaluare (job #2978038)
Borderou de evaluare (job #2978038)
Raport evaluator
Compilare:
main.cpp: In function 'void rezolvare()':
main.cpp:39:21: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds]
39 | dp[2][j]=dp[1][j]+a[i][j];
| ~~~~^
main.cpp:9:29: note: while referencing 'dp'
9 | int n,st,dr,c,a[2005][2005],dp[2][2005],nr[2][2005];
| ^~
main.cpp:40:21: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds]
40 | nr[2][j]=nr[1][j]+nr[1][j-1];
| ~~~~^
main.cpp:9:41: note: while referencing 'nr'
9 | int n,st,dr,c,a[2005][2005],dp[2][2005],nr[2][2005];
| ^~
main.cpp:34:21: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds]
34 | dp[2][j]=dp[1][j-1]+a[i][j];
| ~~~~^
main.cpp:9:29: note: while referencing 'dp'
9 | int n,st,dr,c,a[2005][2005],dp[2][2005],nr[2][2005];
| ^~
main.cpp:35:21: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds]
35 | nr[2][j]=nr[1][j-1];
| ~~~~^
main.cpp:9:41: note: while referencing 'nr'
9 | int n,st,dr,c,a[2005][2005],dp[2][2005],nr[2][2005];
| ^~
main.cpp:29:21: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds]
29 | dp[2][j]=dp[1][j]+a[i][j];
| ~~~~^
main.cpp:9:29: note: while referencing 'dp'
9 | int n,st,dr,c,a[2005][2005],dp[2][2005],nr[2][2005];
| ^~
main.cpp:30:21: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds]
30 | nr[2][j]=nr[1][j];
| ~~~~^
main.cpp:9:41: note: while referencing 'nr'
9 | int n,st,dr,c,a[2005][2005],dp[2][2005],nr[2][2005];
| ^~
main.cpp:44:26: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds]
44 | dp[1][j]=dp[2][j];
| ~~~~^
main.cpp:9:29: note: while referencing 'dp'
9 | int n,st,dr,c,a[2005][2005],dp[2][2005],nr[2][2005];
| ^~
main.cpp:45:26: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds]
45 | nr[1][j]=nr[2][j];
| ~~~~^
main.cpp:9:41: note: while referencing 'nr'
9 | int n,st,dr,c,a[2005][2005],dp[2][2005],nr[2][2005];
| ^~
main.cpp:54:20: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 184kb | OK | 5 |
| 2 | 38ms | 5591kb | OK | 5 |
| 3 | 80ms | 8704kb | OK | 5 |
| 4 | 119ms | 11976kb | OK | 5 |
| 5 | 0ms | 184kb | Incorect | 0 |
| 6 | 0ms | 184kb | Incorect | 0 |
| 7 | 0ms | 184kb | Incorect | 0 |
| 8 | 0ms | 184kb | Incorect | 0 |
| 9 | 7ms | 2543kb | Incorect | 0 |
| 10 | 18ms | 3801kb | Incorect | 0 |
| 11 | 32ms | 5414kb | Incorect | 0 |
| 12 | 42ms | 6328kb | Incorect | 0 |
| 13 | 44ms | 6348kb | Incorect | 0 |
| 14 | 45ms | 6434kb | Incorect | 0 |
| 15 | 55ms | 7163kb | Incorect | 0 |
| 16 | 62ms | 7987kb | Incorect | 0 |
| 17 | 73ms | 8740kb | Incorect | 0 |
| 18 | 102ms | 10432kb | Incorect | 0 |
| 19 | 118ms | 11128kb | Incorect | 0 |
| 20 | 132ms | 11952kb | Incorect | 0 |
| Punctaj total | 20 |