Borderou de evaluare (job #3141378)

Utilizator InformaticianInDevenire1Munteanu Mihnea Gabriel InformaticianInDevenire1 Data 13 iulie 2023 19:29:42
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void Ciur()': main.cpp:15:20: warning: iteration 1498 invokes undefined behavior [-Waggressive-loop-optimizations] 15 | IsPrime[i] = 1; | ~~~~~~~~~~~^~~ main.cpp:14:19: note: within this loop 14 | for (int i=2;i<=1500;++i){ | ~^~~~~~ main.cpp:18:22: warning: iteration 1498 invokes undefined behavior [-Waggressive-loop-optimizations] 18 | if (IsPrime[i]==1){ | ~~~~~~~~~^ main.cpp:17:19: note: within this loop 17 | for (int i=2;i<=1500;++i){ | ~^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
33ms401kbKilled by Signal 80
43ms405kbKilled by Signal 80
53ms405kbKilled by Signal 80
63ms405kbKilled by Signal 80
73ms405kbKilled by Signal 80
83ms401kbKilled by Signal 80
93ms409kbKilled by Signal 80
103ms413kbKilled by Signal 80
Punctaj total20

Ceva nu functioneaza?