Borderou de evaluare (job #2218052)

Utilizator Nicu19199Nicu Florin Nicu19199 Data 3 iulie 2018 10:42:26
Problema Numere Prime Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void ciur(bool*, long long unsigned int, long long unsigned int&)’: user.cpp:7:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=3;nr<=k;i+=2) ~~^~~ user.cpp: In function ‘int main()’: user.cpp:27:6: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] {if(p[i]==0) ^~ user.cpp:29:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if(c==k+1) ^~ user.cpp:33:1: error: expected ‘}’ at end of input } ^

Ceva nu functioneaza?