Borderou de evaluare (job #321815)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Amedia | Compilator | c |
Rundă | temas7_5 | Status | evaluat |
Dată | 7 nov. 2017 21:17:11 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:8:5: error: conflicting types for ‘fin’
user.c:6:10: note: previous declaration of ‘fin’ was here
user.c:8:5: error: stray ‘#’ in program
user.c:8:31: error: expected ‘)’ before ‘include’
user.c:8:9: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:32:22: error: ‘N’ undeclared (first use in this function)
user.c:32:22: note: each undeclared identifier is reported only once for each function it appears in
user.c:32:5: warning: passing argument 1 of ‘fscanf’ makes pointer from integer without a cast [enabled by default]
/usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
user.c:33:5: error: ‘x’ undeclared (first use in this function)
user.c:34:5: error: ‘cnt’ undeclared (first use in this function)
user.c:35:11: error: ‘y’ undeclared (first use in this function)
user.c:43:11: error: lvalue required as left operand of assignment
user.c:44:11: error: lvalue required as left operand of assignment