Borderou de evaluare (job #2478258)

Utilizator XXMihaiXX969Gherghinescu Mihai Andrei XXMihaiXX969 Data 21 octombrie 2019 20:08:52
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:17:12: error: 'poz' was not declared in this scope if(poz[i]) ^~~ main.cpp:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 2;i <= n;i++) ^~~ main.cpp:23:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' out << rez; ^~~ Non zero exit status: 1

Ceva nu functioneaza?