Borderou de evaluare (job #2478256)

Utilizator XXMihaiXX969Gherghinescu Mihai Andrei XXMihaiXX969 Data 21 octombrie 2019 20:07:53
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:14:12: error: 'poz' was not declared in this scope if(poz[i]) ^~~ main.cpp:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 2;i <= n;i++) ^~~ main.cpp:20:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' cout << rez; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?