Borderou de evaluare (job #603576)

Utilizator avatar daria_diaconu Diaconu Daria daria_diaconu IP ascuns
Problemă Bancomat (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 13 aug. 2021 09:35:24 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:12: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 10 | fscanf("%lld%lld",&s,&n); | ^~~~~~~~~~ | | | char * In file included from main.c:1: /usr/include/stdio.h:391:37: note: expected 'FILE * restrict' but argument is of type 'char *' 391 | extern int fscanf (FILE *__restrict __stream, | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:10:23: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 10 | fscanf("%lld%lld",&s,&n); | ^~ | | | long long int * In file included from main.c:1: /usr/include/stdio.h:392:29: note: expected 'const char * restrict' but argument is of type 'long long int *' 392 | const char *__restrict __format, ...) __wur; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:13:14: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 13 | fscanf("%d",&a); | ^~~~ | | | char * In file included from main.c:1: /usr/include/stdio.h:391:37: note: expected 'FILE * restrict' but argument is of type 'char *' 391 | extern int fscanf (FILE *__restrict __stream, | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:13:19: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 13 | fscanf("%d",&a); | ^~ | | | long long int * In file included from main.c:1: /usr/include/stdio.h:392:29: note: expected 'const char * restrict' but argument is of type 'long long int *' 392 | const char *__restrict __format, ...) __wur; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:19:13: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types] 19 | fprintf("%d",&s); | ^~~~ | | | char * In file included from /usr/include/stdio.h:866, from main.c:1: /usr/include/bits/stdio2.h:103:27: note: expected 'FILE * restrict' but argument is of type 'char *' 103 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:19:18: warning: passing argument 2 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types] 19 | fprintf("%d",&s); | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 101 ms 131 kb Time limit exceeded 0
2 105 ms 131 kb Time limit exceeded 0
3 102 ms 131 kb Time limit exceeded 0
4 103 ms 131 kb Time limit exceeded 0
5 106 ms 131 kb Time limit exceeded 0
6 101 ms 131 kb Time limit exceeded 0
7 108 ms 131 kb Time limit exceeded 0
8 100 ms 131 kb Time limit exceeded 0
9 109 ms 131 kb Time limit exceeded 0
10 105 ms 131 kb Time limit exceeded 0
Punctaj total 0