Pagini recente »
Borderou de evaluare (job #398298)
|
Borderou de evaluare (job #463393)
|
Borderou de evaluare (job #392284)
|
Borderou de evaluare (job #185358)
|
Borderou de evaluare (job #605524)
Borderou de evaluare (job #605524)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:14:20: warning: format '%c' expects argument of type 'char *', but argument 3 has type 'char **' [-Wformat=]
14 | fscanf(f,"%c",&na);
| ~^ ~~~
| | |
| | char **
| char *
main.c:17:25: warning: format '%li' expects argument of type 'long int *', but argument 3 has type 'float *' [-Wformat=]
17 | fscanf(f,"%li",&t);
| ~~^ ~~
| | |
| | float *
| long int *
| %e
main.c:21:19: warning: assignment to 'char' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
21 | n2=na;
| ^
main.c:28:23: warning: assignment to 'char' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
28 | n3=na;
| ^
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(f,"%d%d%d%d%d",&c1,&y,&x,&n,&k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(f,"%c",&na);
| ^~~~~~~~~~~~~~~~~~
main.c:17:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(f,"%li",&t);
| ^~~~~~~~~~~~~~~~~~
main.c:36:9: warning: 'n3' may be used uninitialized in this function [-Wmaybe-uninitialized]
36 | fprintf(g,"%c",n3);
| ^~~~~~~~~~~~~~~~~~
main.c:34:9: warning: 'n2' may be used uninitialized in this function [-Wmaybe-uninitialized]
34 | fprintf(g,"%c",n2);
| ^~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
Incorect
|
0
|
3
|
73 ms
|
131 kb
|
Incorect
|
0
|
4
|
237 ms
|
131 kb
|
Incorect
|
0
|
5
|
259 ms
|
131 kb
|
Incorect
|
0
|
6
|
3 ms
|
131 kb
|
Incorect
|
0
|
7
|
1 ms
|
131 kb
|
Incorect
|
0
|
8
|
60 ms
|
131 kb
|
Incorect
|
0
|
9
|
52 ms
|
131 kb
|
Incorect
|
0
|
10
|
66 ms
|
131 kb
|
Incorect
|
0
|
11
|
1 ms
|
131 kb
|
Incorect
|
0
|
12
|
1 ms
|
131 kb
|
Incorect
|
0
|
13
|
1 ms
|
131 kb
|
Incorect
|
0
|
14
|
28 ms
|
131 kb
|
Incorect
|
0
|
15
|
29 ms
|
131 kb
|
Incorect
|
0
|
16
|
13 ms
|
131 kb
|
Incorect
|
0
|
17
|
255 ms
|
131 kb
|
Incorect
|
0
|
18
|
1 ms
|
131 kb
|
Incorect
|
0
|
19
|
17 ms
|
131 kb
|
Incorect
|
0
|
20
|
295 ms
|
131 kb
|
Incorect
|
0
|
Punctaj total
|
0
|