Borderou de evaluare (job #33873)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Centru Prim (clasa a 5-a) | Compilator | c |
Rundă | Concurs clasa a 5-a | Status | evaluat |
Dată | 4 dec. 2013 11:00:22 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:15:11: error: expected ‘)’ before ‘and’
user.c:18:1: warning: passing argument 1 of ‘fclose’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘char *’
user.c:18:1: error: too many arguments to function ‘fclose’
/usr/include/stdio.h:238:12: note: declared here
user.c:18:5: warning: assignment makes pointer from integer without a cast [enabled by default]
user.c:9:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:19:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]