Pagini recente »
Borderou de evaluare (job #50231)
|
Borderou de evaluare (job #690632)
|
Borderou de evaluare (job #240384)
|
Borderou de evaluare (job #624441)
|
Borderou de evaluare (job #696831)
Borderou de evaluare (job #696831)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:12: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
9 | 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:9:18: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
9 | 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:16:13: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
16 | fprintf("%d\n" ,n-i*i);
| ^~~~~~
| |
| char *
In file included from /usr/include/stdio.h:906,
from main.c:1:
/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:16:22: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
16 | fprintf("%d\n" ,n-i*i);
| ~^~~~
| |
| int
In file included from /usr/include/stdio.h:906,
from main.c:1:
/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:19:49: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
19 | fprintf("%d" ,j);
| ^~~~
| |
| char *
In file included from /usr/include/stdio.h:906,
from main.c:1:
/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:19:55: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
2 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
6
|
1 ms
|
110 kb
|
Incorect
|
0
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
Punctaj total
|
0
|