Borderou de evaluare (job #51411)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Parola (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 feb. 2014 17:40:41 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:7:18: warning: left-hand operand of comma expression has no effect [-Wunused-value]
user.c:7:5: warning: assignment from incompatible pointer type [enabled by default]
user.c:8:20: warning: left-hand operand of comma expression has no effect [-Wunused-value]
user.c:8:6: warning: assignment from incompatible pointer type [enabled by default]
user.c:10:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fscanf’
user.c:11:3: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
user.c:11:3: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:449:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int *’
user.c:12:7: error: expected identifier or ‘(’ before ‘[’ token
user.c:9:11: warning: unused variable ‘k’ [-Wunused-variable]
user.c:6:13: warning: variable ‘out’ set but not used [-Wunused-but-set-variable]
user.c:6:9: warning: variable ‘in’ set but not used [-Wunused-but-set-variable]
user.c:11:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]