Borderou de evaluare (job #504674)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Monotonă (clasa a 5-a) | Compilator | c |
Rundă | Tema 13 clasa 5 | Status | evaluat |
Dată | 20 nov. 2019 17:00:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function 'main':
user.c:14:6: error: invalid operands to binary >> (have 'struct FILE *' and 'int')
user.c:21:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
user.c:31:3: error: expected ';' before 'fprintf'
user.c:33:2: 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:33:2: error: too few arguments to function 'fprintf'
user.c:9:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]