Borderou de evaluare (job #106730)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gondola (clasa a 5-a) | Compilator | c |
Rundă | Olimpiada pe școală clasa a 5-a | Status | evaluat |
Dată | 17 ian. 2015 11:20:45 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:8:25: error: conflicting types for ‘g’
user.c:5:14: note: previous declaration of ‘g’ was here
user.c:9:5: 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:34:5: warning: passing argument 1 of ‘printf’ makes pointer from integer without a cast [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:103:1: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
user.c:9:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:10:28: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]