Borderou de evaluare (job #28089)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Poziții (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 nov. 2013 20:01:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:9:1: 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:9:1: error: too few arguments to function ‘fprintf’
user.c:10:1: warning: implicit declaration of function ‘frintf’ [-Wimplicit-function-declaration]
user.c:13:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat]
user.c:3:17: warning: variable ‘k’ set but not used [-Wunused-but-set-variable]
user.c:6:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]