Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2358
5216
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 0~12 $n\le 20$ 5 / 5
3 0~22 $n\le10 ^ 4 且 k \le 2 \times 10 ^ 5$ 5 / 5
4 23~32 $n\le10 ^ 4$ 5 / 5
5 33~42 $k \le 2\times 10 ^ 5$ 40 / 40
6 32~52 $-100 \le w_i \le 100$ 14 / 14
7 0~62 無額外限制 31 / 31

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 7 0002.7 7616 3504 Accepted 100
1 1 2 3 7 0002.5 7616 3508 Accepted 100
2 1 2 3 7 0002.7 7616 3604 Accepted 100
3 2 3 7 0002.6 7616 3600 Accepted 100
4 2 3 7 0002.5 7616 3500 Accepted 100
5 2 3 7 0002.7 7616 3484 Accepted 100
6 2 3 7 0002.5 7616 3408 Accepted 100
7 2 3 7 0002.5 7616 3452 Accepted 100
8 2 3 7 0002.5 7616 3604 Accepted 100
9 2 3 7 0002.4 7616 3608 Accepted 100
10 2 3 7 0002.6 7616 3664 Accepted 100
11 2 3 7 0002.5 7616 3500 Accepted 100
12 2 3 7 0002.6 7616 3496 Accepted 100
13 3 7 0007.9 7616 3556 Accepted 100
14 3 7 0008.2 7616 3736 Accepted 100
15 3 7 0007.8 7616 3668 Accepted 100
16 3 7 0006.7 7616 3536 Accepted 100
17 3 7 0003.9 7616 3580 Accepted 100
18 3 7 0007.1 7616 3620 Accepted 100
19 3 7 0006.6 7616 3544 Accepted 100
20 3 7 0007.8 7616 3572 Accepted 100
21 3 7 0008.0 7616 3680 Accepted 100
22 3 7 0008.3 7616 3684 Accepted 100
23 4 7 0008.1 7616 3680 Accepted 100
24 4 7 0008.3 7616 3684 Accepted 100
25 4 7 0005.0 7616 3504 Accepted 100
26 4 7 0009.5 7616 3680 Accepted 100
27 4 7 0009.0 7616 3556 Accepted 100
28 4 7 0004.1 7616 3612 Accepted 100
29 4 7 0006.5 7616 3592 Accepted 100
30 4 7 0007.7 7616 3660 Accepted 100
31 4 7 0008.6 7616 3644 Accepted 100
32 4 6 7 0008.7 7616 3676 Accepted 100
33 5 6 7 0111.3 7616 5040 Accepted 100
34 5 6 7 0117.0 7616 5164 Accepted 100
35 5 6 7 0112.0 7616 5016 Accepted 100
36 5 6 7 0026.4 7616 3812 Accepted 100
37 5 6 7 0107.4 7616 4844 Accepted 100
38 5 6 7 0090.9 7616 4708 Accepted 100
39 5 6 7 0081.7 7616 4572 Accepted 100
40 5 6 7 0008.2 7616 3728 Accepted 100
41 5 6 7 0111.1 7616 5156 Accepted 100
42 5 6 7 0109.6 7616 5052 Accepted 100
43 6 7 0066.7 7616 5216 Accepted 100
44 6 7 0073.9 7616 5216 Accepted 100
45 6 7 0035.0 7616 4216 Accepted 100
46 6 7 0061.6 7616 4816 Accepted 100
47 6 7 0043.8 7616 4532 Accepted 100
48 6 7 0037.9 7616 4380 Accepted 100
49 6 7 0003.1 7616 3552 Accepted 100
50 6 7 0013.8 7616 3864 Accepted 100
51 6 7 0062.6 7616 5112 Accepted 100
52 6 7 0063.5 7616 5164 Accepted 100
53 7 0111.7 7616 5044 Accepted 100
54 7 0116.2 7616 5156 Accepted 100
55 7 0118.0 7616 4640 Accepted 100
56 7 0050.2 7616 4020 Accepted 100
57 7 0082.1 7616 4112 Accepted 100
58 7 0078.8 7616 4308 Accepted 100
59 7 0017.3 7616 3700 Accepted 100
60 7 0032.9 7616 3932 Accepted 100
61 7 0114.0 7616 5160 Accepted 100
62 7 0117.8 7616 5104 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
919 Bytes
Back to Top