Borderou de evaluare (job #3315882)

Utilizator LSSPLYAntochi Alessio LSSPLY Data 16 octombrie 2025 15:11:14
Problema Aria Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:12: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 11 | fscanf("%d", &n); | ^~~~ | | | char * In file included from main.c:1: /usr/include/stdio.h:415:37: note: expected 'FILE * restrict' but argument is of type 'char *' 415 | extern int fscanf (FILE *__restrict __stream, | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:11:18: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 11 | fscanf("%d", &n); | ^~ | | | int * /usr/include/stdio.h:416:43: note: expected 'const char * restrict' but argument is of type 'int *' 416 | const char *__restrict __format, ...) __wur; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:14:12: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 14 | fscanf("%lf%lf", &x1, &y1); | ^~~~~~~~ | | | char * /usr/include/stdio.h:415:37: note: expected 'FILE * restrict' but argument is of type 'char *' 415 | extern int fscanf (FILE *__restrict __stream, | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:14:22: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 14 | fscanf("%lf%lf", &x1, &y1); | ^~~ | | | double * /usr/include/stdio.h:416:43: note: expected 'const char * restrict' but argument is of type 'double *' 416 | const char *__restrict __format, ...) __wur; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:19:16: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 19 | fscanf("%lf%lf", &x, &y); | ^~~~~~~~ | | | char * /usr/include/stdio.h:415:37: note: expected 'FILE * restrict' but argument is of type 'char *' 415 | extern int fscanf (FILE *__restrict __stream, | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:19:26: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 19 | fscanf("%lf%lf", &x, &y); | ^~ | | | double * /usr/include/stdio.h:416:43: note: expected 'const char * restrict' but argument is of type 'double *' 416 | const char *__restrict __format, ...) __wur; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbMai incearca !0
20ms303kbMai incearca !0
30ms303kbMai incearca !0
40ms303kbMai incearca !0
50ms303kbMai incearca !0
60ms303kbMai incearca !0
70ms303kbMai incearca !0
80ms303kbMai incearca !0
90ms303kbMai incearca !0
100ms303kbMai incearca !0
Punctaj total0

Ceva nu functioneaza?