Borderou de evaluare (job #324578)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre 4 (clasa a 5-a) | Compilator | c |
Rundă | c1_5 | Status | evaluat |
Dată | 19 nov. 2017 16:49:01 | 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:13:5: error: ‘cc’ undeclared (first use in this function)
user.c:13: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:7:37: warning: unused variable ‘cn1’ [-Wunused-variable]
user.c:7:33: warning: unused variable ‘cn’ [-Wunused-variable]
user.c:7:23: warning: unused variable ‘max1’ [-Wunused-variable]
user.c:7:18: warning: unused variable ‘max’ [-Wunused-variable]
user.c:9:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]