Borderou de evaluare (job #407454)

Utilizator avatar Seba951 Sebastian Boerescu Seba951 IP ascuns
Problemă Bila Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 4 dec. 2018 13:31:41 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void colt(int, int)’: user.cpp:26:14: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses] user.cpp:26:24: error: return-statement with a value, in function returning 'void' [-fpermissive] user.cpp:27:29: error: return-statement with a value, in function returning 'void' [-fpermissive] user.cpp:28:29: error: return-statement with a value, in function returning 'void' [-fpermissive] user.cpp:29:29: error: return-statement with a value, in function returning 'void' [-fpermissive] user.cpp:30:12: error: return-statement with a value, in function returning 'void' [-fpermissive] user.cpp: In function ‘void bkt(int, int, int)’: user.cpp:38:29: error: void value not ignored as it ought to be user.cpp:37:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] user.cpp:42:29: error: void value not ignored as it ought to be user.cpp:41:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] user.cpp:46:29: error: void value not ignored as it ought to be user.cpp:45:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] user.cpp:51:29: error: void value not ignored as it ought to be user.cpp:50:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]