Borderou de evaluare (job #2861881)

Utilizator CodauAlexandruCodau Alexandru CodauAlexandru Data 4 martie 2022 17:08:23
Problema Cufar Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void ciur(bool*, int)': main.cpp:14:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 14 | if(E[i] == 1) | ^~ main.cpp:16:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 16 | for(int j = i * i ; j <= n ; j = j + i) | ^~~ main.cpp:16:25: error: 'i' was not declared in this scope 16 | for(int j = i * i ; j <= n ; j = j + i) | ^ main.cpp: In function 'int main()': main.cpp:39:5: error: 'prime' was not declared in this scope 39 | prime(1000001,P,np); | ^~~~~ Non zero exit status: 1

Ceva nu functioneaza?