Borderou de evaluare (job #136619)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Arc (clasa a 9-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 mar. 2015 17:06:26 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:19:13: error: expected ‘;’ before ‘v’
user.c:20:19: error: subscripted value is neither array nor pointer nor vector
user.c:20:25: error: ‘max’ undeclared (first use in this function)
user.c:20:25: note: each undeclared identifier is reported only once for each function it appears in
user.c:21:24: error: subscripted value is neither array nor pointer nor vector
user.c:24:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
user.c:25:9: warning: passing argument 1 of ‘printf’ from incompatible pointer type [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:103:1: note: expected ‘const char * __restrict__’ but argument is of type ‘struct FILE *’
user.c:12:9: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]
user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:18:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]