Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

1146
5380
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 0003.1 6208 3568 Accepted 100
1 1 2 3 7 0002.6 6208 3588 Accepted 100
2 1 2 3 7 0002.6 6208 3568 Accepted 100
3 2 3 7 0002.5 6208 3456 Accepted 100
4 2 3 7 0002.5 6208 3572 Accepted 100
5 2 3 7 0002.5 6208 3640 Accepted 100
6 2 3 7 0002.5 6208 3588 Accepted 100
7 2 3 7 0002.4 6208 3624 Accepted 100
8 2 3 7 0002.5 6208 3588 Accepted 100
9 2 3 7 0002.6 6208 3632 Accepted 100
10 2 3 7 0002.6 6208 3560 Accepted 100
11 2 3 7 0002.4 6208 3468 Accepted 100
12 2 3 7 0002.4 6208 3568 Accepted 100
13 3 7 0004.9 6500 3588 Accepted 100
14 3 7 0004.6 6500 3720 Accepted 100
15 3 7 0004.7 6500 3700 Accepted 100
16 3 7 0004.2 6368 3700 Accepted 100
17 3 7 0003.0 6208 3612 Accepted 100
18 3 7 0004.4 6368 3764 Accepted 100
19 3 7 0004.3 6368 3676 Accepted 100
20 3 7 0005.0 6500 3592 Accepted 100
21 3 7 0004.5 6500 3596 Accepted 100
22 3 7 0004.6 6500 3760 Accepted 100
23 4 7 0005.1 6500 3752 Accepted 100
24 4 7 0004.4 6500 3724 Accepted 100
25 4 7 0003.5 6208 3524 Accepted 100
26 4 7 0005.6 6500 3700 Accepted 100
27 4 7 0005.4 6500 3764 Accepted 100
28 4 7 0003.2 6208 3696 Accepted 100
29 4 7 0004.1 6368 3712 Accepted 100
30 4 7 0004.9 6368 3532 Accepted 100
31 4 7 0004.8 6500 3764 Accepted 100
32 4 6 7 0005.0 6500 3704 Accepted 100
33 5 6 7 0051.8 9324 5224 Accepted 100
34 5 6 7 0043.3 9324 5252 Accepted 100
35 5 6 7 0051.2 9324 5252 Accepted 100
36 5 6 7 0013.1 7020 3820 Accepted 100
37 5 6 7 0049.3 9324 5260 Accepted 100
38 5 6 7 0042.1 9324 5368 Accepted 100
39 5 6 7 0038.5 9324 5312 Accepted 100
40 5 6 7 0004.9 6500 3760 Accepted 100
41 5 6 7 0041.2 9324 5292 Accepted 100
42 5 6 7 0041.8 9324 5380 Accepted 100
43 6 7 0035.1 9324 5256 Accepted 100
44 6 7 0044.2 9324 5380 Accepted 100
45 6 7 0025.5 7788 4248 Accepted 100
46 6 7 0035.7 9324 5264 Accepted 100
47 6 7 0026.0 7788 4100 Accepted 100
48 6 7 0026.9 7788 4272 Accepted 100
49 6 7 0002.9 6208 3628 Accepted 100
50 6 7 0009.0 7020 3724 Accepted 100
51 6 7 0032.1 9324 5288 Accepted 100
52 6 7 0032.0 9324 5256 Accepted 100
53 7 0051.5 9324 5216 Accepted 100
54 7 0042.9 9324 5308 Accepted 100
55 7 0058.4 9324 5256 Accepted 100
56 7 0027.2 7788 4172 Accepted 100
57 7 0041.2 7788 4284 Accepted 100
58 7 0039.4 7788 4208 Accepted 100
59 7 0009.8 6636 3596 Accepted 100
60 7 0016.4 7020 3776 Accepted 100
61 7 0043.7 9324 5164 Accepted 100
62 7 0045.1 9324 5208 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.04 KB
Back to Top