Borderou de evaluare (job #2241389)

Utilizator stefanut999Paul Colta stefanut999 Data 15 septembrie 2018 18:05:49
Problema Maxd Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int nr_div(int)’: user.cpp:9:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] while(x%2==0) ^~~~~ user.cpp:11:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘while’ x=x/2; ^ user.cpp:15:9: error: ‘i’ was not declared in this scope for(i=3;x>1 && i<=sqrt(original_x); i+=2) ^

Ceva nu functioneaza?