Pagini recente »
Borderou de evaluare (job #594602)
|
Borderou de evaluare (job #39555)
|
Borderou de evaluare (job #411392)
|
Borderou de evaluare (job #501658)
|
Borderou de evaluare (job #708695)
Borderou de evaluare (job #708695)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:18:25: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'int *' [-Wformat=]
18 | fscanf(fin, "%lld", &a[i]);
| ~~~^ ~~~~~
| | |
| | int *
| long long int *
| %d
main.c:60:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
60 | fprintf(fout, "%d", ans);
| ~^ ~~~
| | |
| int long long int
| %lld
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d%d", &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | fscanf(fin, "%lld", &a[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:58:11: warning: 'maxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
58 | if(maxx>maxxst[i-1])
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 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
|
59 ms
|
2867 kb
|
OK
|
5
|
8
|
69 ms
|
2600 kb
|
Incorect
|
0
|
9
|
77 ms
|
2871 kb
|
Incorect
|
0
|
10
|
79 ms
|
2863 kb
|
Incorect
|
0
|
11
|
69 ms
|
2605 kb
|
OK
|
5
|
12
|
79 ms
|
3129 kb
|
Incorect
|
0
|
13
|
69 ms
|
1822 kb
|
Incorect
|
0
|
14
|
69 ms
|
1818 kb
|
Incorect
|
0
|
15
|
79 ms
|
2871 kb
|
Incorect
|
0
|
16
|
69 ms
|
2347 kb
|
Incorect
|
0
|
17
|
79 ms
|
3125 kb
|
Incorect
|
0
|
18
|
69 ms
|
2080 kb
|
Incorect
|
0
|
19
|
69 ms
|
1818 kb
|
Incorect
|
0
|
20
|
77 ms
|
3125 kb
|
OK
|
5
|
Punctaj total
|
15
|