Borderou de evaluare (job #2059839)

Utilizator justsomedudePalade Thomas-Emanuel justsomedude Data 7 noiembrie 2017 17:45:52
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:10:5: error: conflicting types for ‘remove’ int remove(unsigned char n, unsigned char i) ^ In file included from user.c:1:0: /usr/include/stdio.h:179:12: note: previous declaration of ‘remove’ was here extern int remove (__const char *__filename) __THROW; ^ user.c: In function ‘apartine’: user.c:36:20: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if (mask&a[cat] == 0) return 0; ^ user.c: In function ‘set_delete_all’: user.c:42:21: warning: unused variable ‘mask’ [-Wunused-variable] unsigned char i, mask=0; ^ user.c: In function ‘set_card’: user.c:51:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘main’: user.c:57:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &n); ^

Ceva nu functioneaza?