Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2058
5296
Wrong Answer
0

Subtask Results

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

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 7 0003.4 7616 3708 Accepted 100
1 1 2 3 7 0003.2 7616 3676 Accepted 100
2 1 2 3 7 0002.8 7616 3676 Accepted 100
3 2 3 7 0002.8 7616 3448 Accepted 100
4 2 3 7 0002.8 7616 3448 Wrong Answer 0
5 2 3 7 0002.8 7616 3644 Accepted 100
6 2 3 7 0002.6 7616 3448 Accepted 100
7 2 3 7 0002.7 7616 3668 Accepted 100
8 2 3 7 0002.4 7616 3544 Accepted 100
9 2 3 7 0002.5 7616 3572 Accepted 100
10 2 3 7 0002.5 7616 3680 Accepted 100
11 2 3 7 0002.7 7616 3672 Accepted 100
12 2 3 7 0002.7 7616 3556 Accepted 100
13 3 7 0007.6 7616 3712 Accepted 100
14 3 7 0007.7 7616 3648 Wrong Answer 0
15 3 7 0007.3 7616 3712 Accepted 100
16 3 7 0007.0 7616 3728 Accepted 100
17 3 7 0003.8 7616 3652 Accepted 100
18 3 7 0007.6 7616 3732 Accepted 100
19 3 7 0006.4 7616 3600 Accepted 100
20 3 7 0007.7 7616 3780 Accepted 100
21 3 7 0007.3 7616 3752 Accepted 100
22 3 7 0008.3 7616 3664 Accepted 100
23 4 7 0007.3 7616 3612 Accepted 100
24 4 7 0007.6 7616 3716 Wrong Answer 0
25 4 7 0004.4 7616 3704 Accepted 100
26 4 7 0008.2 7616 3748 Accepted 100
27 4 7 0007.8 7616 3680 Accepted 100
28 4 7 0004.1 7616 3656 Accepted 100
29 4 7 0005.8 7616 3704 Accepted 100
30 4 7 0006.9 7616 3696 Accepted 100
31 4 7 0007.8 7616 3656 Accepted 100
32 4 6 7 0007.8 7616 3756 Accepted 100
33 5 6 7 0097.2 7616 5096 Accepted 100
34 5 6 7 0113.5 7616 5228 Wrong Answer 0
35 5 6 7 0102.4 7616 5056 Accepted 100
36 5 6 7 0023.9 7616 3956 Accepted 100
37 5 6 7 0097.2 7616 4988 Accepted 100
38 5 6 7 0082.3 7616 4828 Accepted 100
39 5 6 7 0073.8 7616 4708 Accepted 100
40 5 6 7 0007.7 7616 3752 Accepted 100
41 5 6 7 0097.1 7616 5228 Accepted 100
42 5 6 7 0098.1 7616 5240 Accepted 100
43 6 7 0056.5 7616 5296 Accepted 100
44 6 7 0061.3 7616 5236 Accepted 100
45 6 7 0028.8 7616 4308 Accepted 100
46 6 7 0050.9 7616 4904 Accepted 100
47 6 7 0034.8 7616 4600 Accepted 100
48 6 7 0029.1 7616 4416 Accepted 100
49 6 7 0002.9 7616 3688 Accepted 100
50 6 7 0013.4 7616 3796 Accepted 100
51 6 7 0053.0 7616 5260 Accepted 100
52 6 7 0052.4 7616 5100 Accepted 100
53 7 0096.7 7616 5228 Accepted 100
54 7 0111.8 7616 5000 Wrong Answer 0
55 7 0094.7 7616 4828 Accepted 100
56 7 0041.0 7616 3960 Accepted 100
57 7 0061.3 7616 4384 Accepted 100
58 7 0060.0 7616 4384 Accepted 100
59 7 0013.7 7616 3704 Accepted 100
60 7 0027.2 7616 3768 Accepted 100
61 7 0100.1 7616 5228 Accepted 100
62 7 0100.9 7616 5224 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
950 Bytes
Back to Top