Borderou de evaluare (job #33918)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Centru Prim (clasa a 5-a) | Compilator | c |
Rundă | Concurs clasa a 5-a | Status | evaluat |
Dată | 4 dec. 2013 11:19:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:18: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:18:5: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:20: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:20:5: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:21:5: error: ‘else’ without a previous ‘if’
user.c:22: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:22:5: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:24: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:24:5: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:26: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:26:5: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:28:9: 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:28:9: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:30:5: warning: too many arguments for format [-Wformat-extra-args]
user.c:4:13: warning: variable ‘b’ set but not used [-Wunused-but-set-variable]
user.c:4:11: warning: variable ‘m’ set but not used [-Wunused-but-set-variable]
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]