Borderou de evaluare (job #35387)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Furnica (clasa a 6-a) | Compilator | c |
Rundă | Concurs pentru clasa a 6A | Status | evaluat |
Dată | 9 dec. 2013 10:16:33 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:8:25: error: ‘k’ undeclared (first use in this function)
user.c:8:25: note: each undeclared identifier is reported only once for each function it appears in
user.c:8:6: warning: passing argument 1 of ‘scanf’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:452:12: note: expected ‘const char * __restrict__’ but argument is of type ‘struct FILE *’
user.c:10:6: warning: passing argument 1 of ‘scanf’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:452:12: note: expected ‘const char * __restrict__’ but argument is of type ‘struct FILE *’
user.c:13:21: error: subscripted value is neither array nor pointer nor vector
user.c:7:12: warning: unused variable ‘g’ [-Wunused-variable]
user.c:10:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]