Borderou de evaluare (job #2441605)

Utilizator AlexNeaguAlexandru AlexNeagu Data 20 iulie 2019 17:57:11
Problema Suma si numarul divizorilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void sieve()': main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i = 4; i <= nmax; i += 2) ^~~ main.cpp:13:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' p[++k] = 2; ^ main.cpp:15:20: warning: iteration 500001 invokes undefined behavior [-Waggressive-loop-optimizations] if (!ciur[i]) { ~~~~~~^ main.cpp:14:23: note: within this loop for (int i = 3; i <= nmax; i += 2) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
118ms1441kbOK1010
218ms1441kbOK1010
318ms1441kbOK1010
417ms1441kbOK1010
517ms1441kbOK1010
617ms1441kbOK1010
717ms1441kbOK1010
876ms1441kbOK1030
954ms1441kbOK10
1066ms1441kbOK10
Punctaj total100

Ceva nu functioneaza?