Borderou de evaluare (job #324553)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre 4 (clasa a 5-a) | Compilator | c |
Rundă | c1_5 | Status | evaluat |
Dată | 19 nov. 2017 16:31:03 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:9:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat]
user.c:15:5: error: ‘d’ undeclared (first use in this function)
user.c:15:5: note: each undeclared identifier is reported only once for each function it appears in
user.c:24:5: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
user.c:24:5: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * __restrict__’ but argument is of type ‘long long int’
user.c:24:5: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:31:5: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’
user.c:31:5: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * __restrict__’ but argument is of type ‘long long int’
user.c:31:5: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:9:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]