Borderou de evaluare (job #3348884)

Utilizator MihneaStoicaMihnea Teodor Stoica MihneaStoica Data 24 martie 2026 16:11:28
Problema 1expr Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'std::string rev(int, int)': main.cpp:191:12: warning: array subscript 0 is outside array bounds of 'int [0]' [-Warray-bounds] 191 | d[0] = 2 + dp[dr][0]; | ~~~^ main.cpp:190:13: note: while referencing 'd' 190 | int d[]{}; | ^ main.cpp:192:12: warning: array subscript 1 is outside array bounds of 'int [0]' [-Warray-bounds] 192 | d[1] = 2 + dp[dr][1]; | ~~~^ main.cpp:190:13: note: while referencing 'd' 190 | int d[]{}; | ^ main.cpp:193:12: warning: array subscript 2 is outside array bounds of 'int [0]' [-Warray-bounds] 193 | d[2] = dp[dr][2]; | ~~~^ main.cpp:190:13: note: while referencing 'd' 190 | int d[]{}; | ^ main.cpp:194:12: warning: array subscript 3 is outside array bounds of 'int [0]' [-Warray-bounds] 194 | d[3] = dp[dr][3]; | ~~~^ main.cpp:190:13: note: while referencing 'd' 190 | int d[]{}; | ^ main.cpp:195:29: warning: array subscript 4 is outside array bounds of 'int [0]' [-Warray-bounds] 195 | int pd = min_element(d, d + 4) - d; | ~~~~~~~~~~~^~~~~~~~~~ main.cpp:190:13: note: at offset 16 into object 'd' of size 0 190 | int d[]{}; | ^ main.cpp:166:12: warning: array subscript 0 is outside array bounds of 'int [0]' [-Warray-bounds] 166 | d[0] = 2 + dp[dr][0]; | ~~~^ main.cpp:165:13: note: while referencing 'd' 165 | int d[]{}; | ^ main.cpp:167:12: warning: array subscript 1 is outside array bounds of 'int [0]' [-Warray-bounds] 167 | d[1] = dp[dr][1]; | ~~~^ main.cpp:165:13: note: while referencing 'd' 165 | int d[]{}; | ^ main.cpp:168:12: warning: array subscript 2 is outside array bounds of 'int [0]' [-Warray-bounds] 168 | d[2] = dp[dr][2]; | ~~~^ main.cpp:165:13: note: while referencing 'd' 165 | int d[]{}; | ^ main.cpp:169:12: warning: array subscript 3 is outside array bounds of 'int [0]' [-Warray-bounds]
Test Timp executie Memorie folosita Mesaj Punctaj/test
128ms557kbcorect10
229ms557kbcorect10
327ms557kblungimea expresiei nu este minima0
429ms557kbrezultatul expresiei nu este corect0
564ms66355kbMemory limit exceeded0
661ms66383kbMemory limit exceeded0
761ms66379kbMemory limit exceeded0
867ms66183kbMemory limit exceeded0
967ms66207kbMemory limit exceeded0
1057ms66072kbMemory limit exceeded0
Punctaj total20

Ceva nu functioneaza?