Borderou de evaluare (job #82628)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Semipalindrom | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 oct. 2014 22:38:26 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:20:12: error: lvalue required as left operand of assignment
user.c:28:11: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
user.c:28:11: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:34:18: error: lvalue required as left operand of assignment
user.c:38:13: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
user.c:38:13: error: too few arguments to function ‘fprintf’
user.c:41:13: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
user.c:41:13: error: too few arguments to function ‘fprintf’
user.c:45:1: error: expected declaration or statement at end of input
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:45:1: warning: control reaches end of non-void function [-Wreturn-type]