Borderou de evaluare (job #2356343)

Utilizator teodornastase9Nastase Gheorghe Teodor teodornastase9 Data 26 februarie 2019 17:05:30
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:18: warning: operation on 'i' may be undefined [-Wsequence-point] for (i=2;i<=n;i=i=i+1) ~^~~~~~ main.cpp:19:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=i+i;j<=n;j=j+i) ^~~ main.cpp:21:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' nr++; ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
33ms131kbOK10
424ms1179kbOK10
524ms1179kbOK10
636ms1441kbOK10
742ms1572kbOK10
851ms1966kbOK10
957ms2097kbOK10
1065ms2097kbOK10
Punctaj total100

Ceva nu functioneaza?