Borderou de evaluare (job #2391933)

Utilizator cezar_titianuTitianu Cezar cezar_titianu Data 29 martie 2019 13:17:40
Problema Nrcuv1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void trns1()': main.cpp:20:42: warning: iteration 209 invokes undefined behavior [-Waggressive-loop-optimizations] ras1[index + 1] += ras1[index] / 10; ^~ main.cpp:18:30: note: within this loop for(int index = 0; index < 210; index++){ ~~~~~~^~~~~ main.cpp: In function 'void trns2()': main.cpp:48:42: warning: iteration 209 invokes undefined behavior [-Waggressive-loop-optimizations] ras2[index + 1] += ras2[index] / 10; ^~ main.cpp:46:30: note: within this loop for(int index = 0; index < 210; index++){ ~~~~~~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
63ms131kbOK10
73ms131kbOK10
83ms131kbOK10
93ms131kbOK10
102ms131kbOK10
Punctaj total100

Ceva nu functioneaza?