Borderou de evaluare (job #34096)
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:15:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:10:11: error: expected ‘)’ before string constant
user.c:10:11: error: too few arguments to function ‘fscanf’
user.c:11:1: warning: passing argument 1 of ‘fopen’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:273:14: note: expected ‘const char * __restrict__’ but argument is of type ‘struct FILE *’
user.c:11:1: error: too few arguments to function ‘fopen’
/usr/include/stdio.h:273:14: note: declared here
user.c:13:1: error: expected ‘;’ before ‘p’
user.c:19:1: error: expected ‘;’ before ‘for’
user.c:27:12: error: called object ‘fout’ is not a function
user.c:28:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat]
user.c:28:1: warning: too many arguments for format [-Wformat-extra-args]
user.c:7:35: warning: variable ‘q’ set but not used [-Wunused-but-set-variable]