Borderou de evaluare (job #127589)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Mărțișoare (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 4 mar. 2015 09:07:37 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:19:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
user.c:22:17: error: expected ‘;’ before ‘and’
user.c:24:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat]
user.c:25:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
user.c:36:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
user.c:7:58: warning: variable ‘p2’ set but not used [-Wunused-but-set-variable]
user.c:8:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:10:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:24:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]