Borderou de evaluare (job #30355)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Concurs (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 nov. 2013 13:18:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:17:9: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
user.c:17:9: error: too few arguments to function ‘fprintf’
user.c:19:5: error: expected ‘;’ before ‘}’ token
user.c:20:5: error: ‘else’ without a previous ‘if’
user.c:21:5: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
user.c:21:5: error: too few arguments to function ‘fprintf’
user.c:6:17: warning: unused variable ‘c’ [-Wunused-variable]
user.c:6:15: warning: unused variable ‘b’ [-Wunused-variable]
user.c:6:13: warning: unused variable ‘a’ [-Wunused-variable]
user.c:5:17: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable]
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:15:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:22:1: warning: control reaches end of non-void function [-Wreturn-type]