Borderou de evaluare (job #3149568)

Utilizator catalinmarincatalinmarin catalinmarin Data 9 septembrie 2023 21:30:30
Problema Euclid Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:15: warning: iteration 399 invokes undefined behavior [-Waggressive-loop-optimizations] 15 | lg[i] = lg[i / 2] + 1; | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:14:23: note: within this loop 14 | for (int i = 2; i <= 401; i++){ | ~~^~~~~~ main.cpp:19:15: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] 19 | p2[i] = p2[i - 1] * 2; | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:18:23: note: within this loop 18 | for (int i = 1; i <= 9; i++){ | ~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms1605kbIncorect0
22ms1605kbIncorect0
32ms1605kbIncorect0
439ms1691kbIncorect0
539ms1695kbIncorect0
639ms1691kbIncorect0
7273ms1605kbOK10
8278ms1699kbOK10
9277ms1691kbOK10
10278ms1605kbOK10
Punctaj total40

Ceva nu functioneaza?