Pagini recente »
Borderou de evaluare (job #476379)
|
Borderou de evaluare (job #796019)
|
Borderou de evaluare (job #264177)
|
Borderou de evaluare (job #525507)
|
Borderou de evaluare (job #791670)
Borderou de evaluare (job #791670)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:26:17: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
26 | fprintf("%d",1 );
| ^~~~
| |
| char *
In file included from /usr/include/stdio.h:980,
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:26:22: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
26 | fprintf("%d",1 );
| ^
| |
| 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:28:17: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
28 | fprintf("%d",0 );
| ^~~~
| |
| char *
/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:28:9: warning: argument 2 null where non-null expected [-Wnonnull]
28 | fprintf("%d",0 );
| ^~~~~~~
/usr/include/bits/stdio2.h:77:1: note: in a call to function 'fprintf' declared 'nonnull'
77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ^~~~~~~
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf ( fin, "%d", &n );
| ^~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
Punctaj/grupă |
1
|
1 ms
|
249 kb
|
Incorect
|
0
|
0
|
2
|
1 ms
|
249 kb
|
Incorect
|
0
|
3
|
1 ms
|
249 kb
|
Incorect
|
0
|
4
|
1 ms
|
249 kb
|
Incorect
|
0
|
5
|
1 ms
|
512 kb
|
Incorect
|
0
|
0
|
6
|
1 ms
|
270 kb
|
Incorect
|
0
|
7
|
3 ms
|
131 kb
|
Incorect
|
0
|
8
|
1 ms
|
270 kb
|
Incorect
|
0
|
9
|
1 ms
|
249 kb
|
Incorect
|
0
|
0
|
10
|
1 ms
|
249 kb
|
Incorect
|
0
|
11
|
1 ms
|
249 kb
|
Incorect
|
0
|
12
|
1 ms
|
249 kb
|
Incorect
|
0
|
13
|
1 ms
|
249 kb
|
Incorect
|
0
|
0
|
14
|
1 ms
|
249 kb
|
Incorect
|
0
|
15
|
1 ms
|
249 kb
|
Incorect
|
0
|
16
|
1 ms
|
249 kb
|
Incorect
|
0
|
17
|
1 ms
|
512 kb
|
Incorect
|
0
|
0
|
18
|
1 ms
|
270 kb
|
Incorect
|
0
|
19
|
1 ms
|
249 kb
|
Incorect
|
0
|
20
|
1 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
0
|