Borderou de evaluare (job #670875)

Utilizator avatar kovacson Kovacs Rares kovacson IP ascuns
Problemă Compus (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 20 oct. 2022 14:26:55 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:7:12: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 7 | 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:7:17: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 7 | fscanf("%d",&n); | ^~ | | | int * In file included from main.c:1: /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:8:12: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 8 | fscanf("%d",&e); | ^~~~ | | | 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:8:17: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 8 | fscanf("%d",&e); | ^~ | | | int * In file included from main.c:1: /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:9:12: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 9 | fscanf("%d",&p); | ^~~~ | | | 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:9:17: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 9 | fscanf("%d",&p); | ^~ | |
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 59 ms 118 kb Time limit exceeded 0
2 57 ms 118 kb Time limit exceeded 0
3 52 ms 118 kb Time limit exceeded 0
4 52 ms 118 kb Time limit exceeded 0
5 52 ms 118 kb Time limit exceeded 0
6 52 ms 118 kb Time limit exceeded 0
7 51 ms 118 kb Time limit exceeded 0
8 50 ms 118 kb Time limit exceeded 0
9 59 ms 118 kb Time limit exceeded 0
10 50 ms 118 kb Time limit exceeded 0
Punctaj total 0