Borderou de evaluare (job #3140460)

Utilizator AlexSerban21Serban Alexandru AlexSerban21 Data 6 iulie 2023 16:42:00
Problema Partii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
10ms303kbIncorect00
20ms557kbIncorect00
31ms1081kbIncorect00
41ms1867kbIncorect00
53ms3444kbIncorect0
66ms5013kbIncorect0
754ms15507kbIncorect0
854ms15499kbIncorect0
954ms13062kbIncorect0
1039ms13213kbOK10
Punctaj total0

Ceva nu functioneaza?