Borderou de evaluare (job #1040066)

Utilizator vlad233Dragan Vlad vlad233 Data 23 noiembrie 2013 22:06:04
Problema Numere Prime Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int prim(long int)’: user.cpp:11:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (x==1 || x!=2 && x%2==0) ^ user.cpp:26:1: error: a function-definition is not allowed here before ‘{’ token { ^ user.cpp:48:1: error: expected ‘}’ at end of input } ^ user.cpp:48:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?