Borderou de evaluare (job #3288392)

Utilizator Nasa1004Ema Nicole Gheorghe Nasa1004 Data 21 martie 2025 22:06:29
Problema Tritzi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:88:13: warning: array subscript 1 is above array bounds of 'int [1][3]' [-Warray-bounds] 88 | dp[1][0] = 0, dp[1][1] = 0, dp[1][2] = 0; ///useless, doar pt inmultit 3x3 | ~~~~^ main.cpp:69:5: note: while referencing 'dp' 69 | int dp[1][3]; ///dp[i][j] - pt primele i pos, nr de moduri adj.i. pe | ^~ main.cpp:88:27: warning: array subscript 1 is above array bounds of 'int [1][3]' [-Warray-bounds] 88 | dp[1][0] = 0, dp[1][1] = 0, dp[1][2] = 0; ///useless, doar pt inmultit 3x3 | ~~~~^ main.cpp:69:5: note: while referencing 'dp' 69 | int dp[1][3]; ///dp[i][j] - pt primele i pos, nr de moduri adj.i. pe | ^~ main.cpp:88:41: warning: array subscript 1 is above array bounds of 'int [1][3]' [-Warray-bounds] 88 | dp[1][0] = 0, dp[1][1] = 0, dp[1][2] = 0; ///useless, doar pt inmultit 3x3 | ~~~~^ main.cpp:69:5: note: while referencing 'dp' 69 | int dp[1][3]; ///dp[i][j] - pt primele i pos, nr de moduri adj.i. pe | ^~ main.cpp:89:13: warning: array subscript 2 is above array bounds of 'int [1][3]' [-Warray-bounds] 89 | dp[2][0] = 0, dp[2][1] = 0, dp[2][2] = 0; | ~~~~^ main.cpp:69:5: note: while referencing 'dp' 69 | int dp[1][3]; ///dp[i][j] - pt primele i pos, nr de moduri adj.i. pe | ^~ main.cpp:89:27: warning: array subscript 2 is above array bounds of 'int [1][3]' [-Warray-bounds] 89 | dp[2][0] = 0, dp[2][1] = 0, dp[2][2] = 0; | ~~~~^ main.cpp:69:5: note: while referencing 'dp' 69 | int dp[1][3]; ///dp[i][j] - pt primele i pos, nr de moduri adj.i. pe | ^~ main.cpp:89:41: warning: array subscript 2 is above array bounds of 'int [1][3]' [-Warray-bounds] 89 | dp[2][0] = 0, dp[2][1] = 0, dp[2][2] = 0; | ~~~~^ main.cpp:69:5: note: while referencing 'dp' 69 | int dp[1][3]; ///dp[i][j] - pt primele i pos, nr de moduri adj.i. pe | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?