Pagini recente » Borderou de evaluare (job #1012611) | Borderou de evaluare (job #2137249) | Borderou de evaluare (job #1691672) | Borderou de evaluare (job #1547652) | Borderou de evaluare (job #3140460)
Borderou de evaluare (job #3140460)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:47:57: warning: array subscript 4 is above array bounds of 'int [4][1002][1002]' [-Warray-bounds]
47 | sum=dp[1][i][j]+dp[2][i][j]+dp[3][i][j]+dp[4][i][j];
| ~~~~^
main.cpp:6:36: note: while referencing 'dp'
6 | int n,m,i,j,sum,maxc,v[1002][1002],dp[4][1002][1002];
| ^~
main.cpp:38:17: warning: array subscript 4 is above array bounds of 'int [4][1002][1002]' [-Warray-bounds]
38 | dp[4][i][j]=1;
| ~~~~^
main.cpp:6:36: note: while referencing 'dp'
6 | int n,m,i,j,sum,maxc,v[1002][1002],dp[4][1002][1002];
| ^~
main.cpp:40:34: warning: array subscript 4 is above array bounds of 'int [4][1002][1002]' [-Warray-bounds]
40 | dp[4][i][j]+=dp[4][i+1][j];
| ~~~~^
main.cpp:6:36: note: while referencing 'dp'
6 | int n,m,i,j,sum,maxc,v[1002][1002],dp[4][1002][1002];
| ^~
main.cpp:40:21: warning: array subscript 4 is above array bounds of 'int [4][1002][1002]' [-Warray-bounds]
40 | dp[4][i][j]+=dp[4][i+1][j];
| ~~~~^
main.cpp:6:36: note: while referencing 'dp'
6 | int n,m,i,j,sum,maxc,v[1002][1002],dp[4][1002][1002];
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Incorect | 0 | 0 |
2 | 0ms | 557kb | Incorect | 0 | 0 |
3 | 1ms | 1081kb | Incorect | 0 | 0 |
4 | 1ms | 1867kb | Incorect | 0 | 0 |
5 | 3ms | 3444kb | Incorect | 0 |
6 | 6ms | 5013kb | Incorect | 0 |
7 | 54ms | 15507kb | Incorect | 0 |
8 | 54ms | 15499kb | Incorect | 0 |
9 | 54ms | 13062kb | Incorect | 0 |
10 | 39ms | 13213kb | OK | 10 |
Punctaj total | 0 |