Borderou de evaluare (job #3348885)

Utilizator MihneaStoicaMihnea Teodor Stoica MihneaStoica Data 24 martie 2026 16:14:24
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:199:12: warning: array subscript 0 is outside array bounds of 'int [0]' [-Warray-bounds] 199 | d[0] = 2 + dp[dr][0]; | ~~~^ main.cpp:198:13: note: while referencing 'd' 198 | int d[]{}; | ^ main.cpp:200:12: warning: array subscript 1 is outside array bounds of 'int [0]' [-Warray-bounds] 200 | d[1] = 2 + dp[dr][1]; | ~~~^ main.cpp:198:13: note: while referencing 'd' 198 | int d[]{}; | ^ main.cpp:201:12: warning: array subscript 2 is outside array bounds of 'int [0]' [-Warray-bounds] 201 | d[2] = dp[dr][2]; | ~~~^ main.cpp:198:13: note: while referencing 'd' 198 | int d[]{}; | ^ main.cpp:202:12: warning: array subscript 3 is outside array bounds of 'int [0]' [-Warray-bounds] 202 | d[3] = dp[dr][3]; | ~~~^ main.cpp:198:13: note: while referencing 'd' 198 | int d[]{}; | ^ main.cpp:203:30: warning: array subscript 4 is outside array bounds of 'int [0]' [-Warray-bounds] 203 | int pd = minn_element(d, d + 4) - d; | ~~~~~~~~~~~~^~~~~~~~~~ main.cpp:198:13: note: at offset 16 into object 'd' of size 0 198 | int d[]{}; | ^ main.cpp:174:12: warning: array subscript 0 is outside array bounds of 'int [0]' [-Warray-bounds] 174 | d[0] = 2 + dp[dr][0]; | ~~~^ main.cpp:173:13: note: while referencing 'd' 173 | int d[]{}; | ^ main.cpp:175:12: warning: array subscript 1 is outside array bounds of 'int [0]' [-Warray-bounds] 175 | d[1] = dp[dr][1]; | ~~~^ main.cpp:173:13: note: while referencing 'd' 173 | int d[]{}; | ^ main.cpp:176:12: warning: array subscript 2 is outside array bounds of 'int [0]' [-Warray-bounds] 176 | d[2] = dp[dr][2]; | ~~~^ main.cpp:173:13: note: while referencing 'd' 173 | int d[]{}; | ^ main.cpp:177:12: warning: array subscript 3 is outside array bounds of 'int [0]' [-Warray-bounds]
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms557kbcorect10
227ms557kbcorect10
327ms557kblungimea expresiei nu este minima0
427ms557kbrezultatul expresiei nu este corect0
564ms66146kbMemory limit exceeded0
661ms66379kbMemory limit exceeded0
761ms66301kbMemory limit exceeded0
861ms66371kbMemory limit exceeded0
961ms66379kbMemory limit exceeded0
1061ms66330kbMemory limit exceeded0
Punctaj total20

Ceva nu functioneaza?