Borderou de evaluare (job #2855775)

Utilizator Codrin2005Codrin Radetchi Codrin2005 Data 22 februarie 2022 21:45:59
Problema Ubuntzei Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp:8:18: warning: left shift count >= width of type [-Wshift-count-overflow] 8 | int c[N][N], dp[1<<N][N]; | ~^~~ main.cpp: In function 'int main()': main.cpp:30:26: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 30 | iii += (1 << aux - 1); | ~~~~^~~ main.cpp:41:13: warning: array subscript i is outside array bounds of 'int [0][2000]' [-Warray-bounds] 41 | dp[i][0] = 0; | ~~~~^ main.cpp:8:14: note: while referencing 'dp' 8 | int c[N][N], dp[1<<N][N]; | ^~ main.cpp:44:17: warning: array subscript i is outside array bounds of 'int [0][2000]' [-Warray-bounds] 44 | dp[i][j] = INF; | ~~~~^ main.cpp:8:14: note: while referencing 'dp' 8 | int c[N][N], dp[1<<N][N]; | ^~ main.cpp:47:9: warning: array subscript 1 is outside array bounds of 'int [0][2000]' [-Warray-bounds] 47 | dp[1][0] = 0; | ~~~~^ main.cpp:8:14: note: while referencing 'dp' 8 | int c[N][N], dp[1<<N][N]; | ^~ main.cpp:59:56: warning: array subscript i is outside array bounds of 'int [0][2000]' [-Warray-bounds] 59 | dp[ii][k] = min(dp[ii][k], dp[i][j] + c[j][k]); | ~~~~^ main.cpp:8:14: note: while referencing 'dp' 8 | int c[N][N], dp[1<<N][N]; | ^~ main.cpp:59:49: warning: array subscript ii is outside array bounds of 'int [0][2000]' [-Warray-bounds] 59 | dp[ii][k] = min(dp[ii][k], dp[i][j] + c[j][k]); | ~~~~~~~~^ main.cpp:8:14: note: while referencing 'dp' 8 | int c[N][N], dp[1<<N][N]; | ^~ main.cpp:59:46: warning: array subscript ii is outside array bounds of 'int [0][2000]' [-Warray-bounds] 59 | dp[ii][k] = min(dp[ii][k], dp[i][j] + c[j][k]); | ~~~~~^ main.cpp:59:30: warning: array subscript ii is outside array bounds of 'int [0][2000]' [-Warray-bounds] 59 | dp[ii][k] = min(dp[ii][k], dp[i][j] + c[j][k]); | ~~~~~^ main.cpp:8:14: note: while referencing 'dp' 8 | int c[N][N], dp[1<<N][N]; | ^~ main.cpp:75:32: warning: array subscript i is outside array bounds of 'int [0][2000]' [-Warray-bounds] 75 | rez = min(dp[i][n-1], rez); | ~~~~~~~~~^ main.cpp:8:14: note: while referencing 'dp'
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms15142kbKilled by Signal 110
210ms15151kbKilled by Signal 110
36ms2560kbIncorect0
410ms15142kbKilled by Signal 110
510ms15151kbKilled by Signal 110
62ms184kbKilled by Signal 110
76ms2560kbIncorect0
86ms2560kbIncorect0
96ms2560kbIncorect0
106ms2547kbIncorect0
116ms2560kbIncorect0
126ms2560kbIncorect0
136ms2560kbIncorect0
1415ms15364kbKilled by Signal 110
1513ms15282kbKilled by Signal 110
1610ms9027kbKilled by Signal 110
1714ms11128kbKilled by Signal 110
1823ms15331kbKilled by Signal 110
1934ms16211kbKilled by Signal 110
206ms6623kbIncorect0
Punctaj total0

Ceva nu functioneaza?