Borderou de evaluare (job #93281)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gardul (clasa a 6-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 nov. 2014 11:31:57 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:8:18: error: expected ‘)’ before string constant
user.c:8:18: 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:8:18: error: too few arguments to function ‘fopen’
/usr/include/stdio.h:273:14: note: declared here
user.c:9:16: error: expected ‘)’ before string constant
user.c:9:16: error: too few arguments to function ‘fscanf’
user.c:22:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
user.c:24:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
user.c:29:5: error: too few arguments to function ‘fopen’
/usr/include/stdio.h:273:14: note: declared here
user.c:30:18: error: expected ‘)’ before string constant
user.c:30:18: error: too few arguments to function ‘fprintf’
user.c:6:27: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]