Pagini recente »
Borderou de evaluare (job #435762)
|
Borderou de evaluare (job #748232)
|
Borderou de evaluare (job #753801)
Borderou de evaluare (job #753801)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:8:13: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
8 | fscanf( "%d%d%d", &n, &p, &k );
| ^~~~~~~~
| |
| 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:23: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
8 | fscanf( "%d%d%d", &n, &p, &k );
| ^~
| |
| 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:25:14: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
25 | fprintf( "%d\n%d\n%d\n%d", n - cnt_r - cnt_v - cnt_a, cnt_r, cnt_a, cnt_v );
| ^~~~~~~~~~~~~~~~
| |
| char *
In file included from /usr/include/stdio.h:906:
/usr/include/bits/stdio2.h:77:27: note: expected 'FILE * restrict' but argument is of type 'char *'
77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:25:50: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
25 | fprintf( "%d\n%d\n%d\n%d", n - cnt_r - cnt_v - cnt_a, cnt_r, cnt_a, cnt_v );
| ~~~~~~~~~~~~~~~~~~^~~~~~~
| |
| int
/usr/include/bits/stdio2.h:77:60: note: expected 'const char * restrict' but argument is of type 'int'
77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf( "%d%d%d", &n, &p, &k );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
249 kb
|
Fisier de iesire 'gardul.out' gol!
|
0
|
2
|
1 ms
|
249 kb
|
Fisier de iesire 'gardul.out' gol!
|
0
|
3
|
1 ms
|
249 kb
|
Fisier de iesire 'gardul.out' gol!
|
0
|
4
|
1 ms
|
249 kb
|
Fisier de iesire 'gardul.out' gol!
|
0
|
5
|
1 ms
|
249 kb
|
Fisier de iesire 'gardul.out' gol!
|
0
|
6
|
1 ms
|
249 kb
|
Fisier de iesire 'gardul.out' gol!
|
0
|
7
|
1 ms
|
249 kb
|
Fisier de iesire 'gardul.out' gol!
|
0
|
8
|
1 ms
|
249 kb
|
Fisier de iesire 'gardul.out' gol!
|
0
|
9
|
1 ms
|
249 kb
|
Fisier de iesire 'gardul.out' gol!
|
0
|
10
|
1 ms
|
249 kb
|
Fisier de iesire 'gardul.out' gol!
|
0
|
Punctaj total
|
0
|