Borderou de evaluare (job #2266256)

Utilizator ralucabaci03Baci Raluca ralucabaci03 Data 22 octombrie 2018 15:30:46
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:24: warning: this 'for' clause does not guard... [-Wmisleading-indentation] if(ciur[i]) {for(int ^~~ main.cpp:20:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' s++; } ^ main.cpp:16:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=2;i<=n;++i) ^~~ main.cpp:21:11: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' fout<<s; ^~~~ main.cpp:22:19: error: expected '}' at end of input return 0; ^ Non zero exit status: 1

Ceva nu functioneaza?