Borderou de evaluare (job #37508)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Meteo (clasa a 6-a) | Compilator | c |
Rundă | concurs_6b_16_12 | Status | evaluat |
Dată | 16 dec. 2013 12:17:14 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:13:7: 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:13:7: warning: null argument where non-null required (argument 1) [-Wnonnull]
user.c:13:7: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:14:7: 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:14:7: warning: null argument where non-null required (argument 1) [-Wnonnull]
user.c:14:7: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:22:15: error: ‘fo’ undeclared (first use in this function)
user.c:22:15: note: each undeclared identifier is reported only once for each function it appears in
user.c:23:12: warning: unused variable ‘fo’ [-Wunused-variable]
user.c:8:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:9:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:10:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:12:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]