Borderou de evaluare (job #3323120)

Utilizator marius_rus47Rus Marius marius_rus47 Data 17 noiembrie 2025 10:45:04
Problema Coins Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:16: warning: iteration 21 invokes undefined behavior [-Waggressive-loop-optimizations] 17 | v[j]+=v[j-1]; | ~~~^ main.cpp:15:23: note: within this loop 15 | for (int j=1;j<=22;j++) { | ~^~~~ main.cpp:22:20: warning: array subscript 22 is above array bounds of 'int [22]' [-Warray-bounds] 22 | m+=v[22]; | ~~~~^ main.cpp:7:9: note: while referencing 'v' 7 | int m,n,v[22]; | ^ main.cpp:18:19: warning: array subscript 22 is above array bounds of 'int [22]' [-Warray-bounds] 18 | c=v[22]-v[v[22]]; | ~~~~^ main.cpp:7:9: note: while referencing 'v' 7 | int m,n,v[22]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms397kbKilled by Signal 110
20ms303kbWrong answer!0
30ms303kbWrong answer!0
40ms303kbWrong answer!0
50ms303kbWrong answer!0
60ms303kbWrong answer!0
70ms303kbWrong answer!0
89ms401kbKilled by Signal 110
94ms401kbKilled by Signal 110
104ms405kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?