Pagini recente »
Borderou de evaluare (job #711891)
|
Borderou de evaluare (job #773957)
Borderou de evaluare (job #773957)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
12 | fscanf( fin, "%d%lld%d%lld", &c, &q, &n, &k);
| ~^ ~~
| | |
| int * long long int *
| %lld
main.c:12:30: warning: format '%lld' expects argument of type 'long long int *', but argument 6 has type 'int *' [-Wformat=]
12 | fscanf( fin, "%d%lld%d%lld", &c, &q, &n, &k);
| ~~~^ ~~
| | |
| long long int * int *
| %d
main.c:15:26: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'int *' [-Wformat=]
15 | fscanf( fin, "%lld", &v[i]);
| ~~~^ ~~~~~
| | |
| | int *
| long long int *
| %d
main.c:36:32: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
36 | fprintf( fout, "%lld ", v[i]);
| ~~~^ ~~~~
| | |
| | int
| long long int
| %d
main.c:68:36: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
68 | fprintf( fout, "%lld ", i);
| ~~~^ ~
| | |
| | int
| long long int
| %d
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf( fin, "%d%lld%d%lld", &c, &q, &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf( fin, "%lld", &v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:24:11: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | fscanf( fin, "%lld%lld", &s, &d);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:42:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | fscanf(fin, "%lld%lld", &s, &d);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:53:11: warning: 'z' may be used uninitialized [-Wmaybe-uninitialized]
53 | r = v[z];
| ~~^~~~~~
main.c:10:27: note: 'z' was declared here
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
249 kb
|
Incorect
|
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
|
249 kb
|
Incorect
|
0
|
|
6
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
11
|
1 ms
|
512 kb
|
Incorect
|
0
|
|
12
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
13
|
1 ms
|
249 kb
|
Incorect
|
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
|
249 kb
|
Incorect
|
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
|