Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4276
4900
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.9 6212 3568 Accepted 100
1 1 2 3 7 0002.5 6212 3584 Accepted 100
2 1 2 3 7 0002.7 6212 3488 Accepted 100
3 2 3 7 0002.5 6212 3560 Accepted 100
4 2 3 7 0002.7 6212 3588 Accepted 100
5 2 3 7 0002.6 6212 3556 Accepted 100
6 2 3 7 0002.5 6212 3624 Accepted 100
7 2 3 7 0002.7 6212 3552 Accepted 100
8 2 3 7 0002.5 6212 3488 Accepted 100
9 2 3 7 0002.7 6212 3564 Accepted 100
10 2 3 7 0002.7 6212 3588 Accepted 100
11 2 3 7 0002.8 6212 3552 Accepted 100
12 2 3 7 0002.7 6212 3624 Accepted 100
13 3 7 0008.2 6212 3708 Accepted 100
14 3 7 0009.9 6212 3532 Accepted 100
15 3 7 0010.9 6212 3700 Accepted 100
16 3 7 0008.3 6212 3648 Accepted 100
17 3 7 0004.7 6212 3588 Accepted 100
18 3 7 0008.9 6212 3696 Accepted 100
19 3 7 0008.6 6212 3628 Accepted 100
20 3 7 0010.6 6212 3564 Accepted 100
21 3 7 0011.0 6212 3568 Accepted 100
22 3 7 0011.2 6212 3648 Accepted 100
23 4 7 0007.9 6212 3672 Accepted 100
24 4 7 0009.9 6212 3672 Accepted 100
25 4 7 0005.6 6212 3660 Accepted 100
26 4 7 0013.5 6212 3680 Accepted 100
27 4 7 0013.1 6212 3664 Accepted 100
28 4 7 0005.5 6212 3592 Accepted 100
29 4 7 0008.0 6212 3680 Accepted 100
30 4 7 0010.3 6212 3652 Accepted 100
31 4 7 0012.1 6212 3772 Accepted 100
32 4 6 7 0012.3 6212 3648 Accepted 100
33 5 6 7 0133.3 7776 4756 Accepted 100
34 5 6 7 0193.3 7776 4900 Accepted 100
35 5 6 7 0203.5 7632 4636 Accepted 100
36 5 6 7 0042.0 6528 3588 Accepted 100
37 5 6 7 0199.3 7576 4432 Accepted 100
38 5 6 7 0159.6 7364 4340 Accepted 100
39 5 6 7 0142.9 7244 4208 Accepted 100
40 5 6 7 0011.0 6212 3632 Accepted 100
41 5 6 7 0203.8 7776 4848 Accepted 100
42 5 6 7 0207.5 7776 4756 Accepted 100
43 6 7 0177.3 7776 4848 Accepted 100
44 6 7 0136.3 7776 4848 Accepted 100
45 6 7 0061.5 6940 4100 Accepted 100
46 6 7 0160.6 7540 4408 Accepted 100
47 6 7 0106.8 7148 4056 Accepted 100
48 6 7 0067.9 6988 4028 Accepted 100
49 6 7 0003.5 6212 3580 Accepted 100
50 6 7 0030.8 6472 3596 Accepted 100
51 6 7 0185.5 7776 4772 Accepted 100
52 6 7 0184.6 7776 4692 Accepted 100
53 7 0132.8 7776 4816 Accepted 100
54 7 0193.4 7776 4696 Accepted 100
55 7 0209.0 7376 4256 Accepted 100
56 7 0076.0 6732 3776 Accepted 100
57 7 0142.1 6924 3884 Accepted 100
58 7 0138.7 6920 4016 Accepted 100
59 7 0029.1 6348 3620 Accepted 100
60 7 0053.7 6544 3568 Accepted 100
61 7 0227.9 7776 4672 Accepted 100
62 7 0237.2 7776 4696 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.07 KB
Back to Top