Borderou de evaluare (job #34092)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Centru Prim (clasa a 5-a) | Compilator | c |
Rundă | Concurs clasa a 5-a | Status | evaluat |
Dată | 4 dec. 2013 12:14:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:12:1: error: too few arguments to function ‘fopen’
/usr/include/stdio.h:273:14: note: declared here
user.c:14:1: error: expected ‘;’ before ‘n’
user.c:17:8: error: expected ‘)’ before ‘and’
user.c:20: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:20:1: error: too many arguments to function ‘fclose’
/usr/include/stdio.h:238:12: note: declared here
user.c:20:5: warning: assignment makes pointer from integer without a cast [enabled by default]
user.c:21:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat]
user.c:11:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]