Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4271
6460
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.4 6208 3392 Accepted 100
1 1 2 3 7 0002.5 6208 3568 Accepted 100
2 1 2 3 7 0002.6 6208 3580 Accepted 100
3 2 3 7 0002.4 6208 3564 Accepted 100
4 2 3 7 0002.6 6208 3588 Accepted 100
5 2 3 7 0002.4 6208 3564 Accepted 100
6 2 3 7 0002.4 6208 3580 Accepted 100
7 2 3 7 0002.5 6208 3628 Accepted 100
8 2 3 7 0002.4 6208 3628 Accepted 100
9 2 3 7 0002.4 6208 3624 Accepted 100
10 2 3 7 0002.4 6208 3692 Accepted 100
11 2 3 7 0002.4 6208 3620 Accepted 100
12 2 3 7 0002.4 6208 3584 Accepted 100
13 3 7 0007.7 6400 3696 Accepted 100
14 3 7 0010.2 6400 3720 Accepted 100
15 3 7 0010.3 6384 3648 Accepted 100
16 3 7 0008.2 6356 3640 Accepted 100
17 3 7 0004.5 6208 3628 Accepted 100
18 3 7 0009.0 6364 3672 Accepted 100
19 3 7 0008.4 6352 3668 Accepted 100
20 3 7 0010.4 6384 3752 Accepted 100
21 3 7 0010.9 6400 3672 Accepted 100
22 3 7 0010.7 6400 3720 Accepted 100
23 4 7 0007.8 6400 3700 Accepted 100
24 4 7 0010.2 6400 3692 Accepted 100
25 4 7 0005.5 6208 3744 Accepted 100
26 4 7 0013.7 6396 3752 Accepted 100
27 4 7 0012.7 6384 3756 Accepted 100
28 4 7 0005.1 6208 3612 Accepted 100
29 4 7 0007.9 6208 3684 Accepted 100
30 4 7 0010.4 6360 3688 Accepted 100
31 4 7 0012.1 6400 3676 Accepted 100
32 4 6 7 0012.4 6400 3712 Accepted 100
33 5 6 7 0133.1 9336 6288 Accepted 100
34 5 6 7 0198.7 9336 6288 Accepted 100
35 5 6 7 0199.3 9048 6004 Accepted 100
36 5 6 7 0041.4 6840 3732 Accepted 100
37 5 6 7 0191.3 8936 5740 Accepted 100
38 5 6 7 0161.5 8512 5688 Accepted 100
39 5 6 7 0145.2 8272 5376 Accepted 100
40 5 6 7 0010.7 6388 3760 Accepted 100
41 5 6 7 0203.8 9336 6268 Accepted 100
42 5 6 7 0204.7 9336 6312 Accepted 100
43 6 7 0178.6 9336 6384 Accepted 100
44 6 7 0140.0 9336 6280 Accepted 100
45 6 7 0059.8 7664 4472 Accepted 100
46 6 7 0162.4 8864 5872 Accepted 100
47 6 7 0108.2 8080 5112 Accepted 100
48 6 7 0066.7 7760 4836 Accepted 100
49 6 7 0003.3 6208 3596 Accepted 100
50 6 7 0031.1 6728 3640 Accepted 100
51 6 7 0186.4 9336 6460 Accepted 100
52 6 7 0186.4 9336 6268 Accepted 100
53 7 0133.4 9336 6368 Accepted 100
54 7 0197.9 9336 6460 Accepted 100
55 7 0222.4 8536 5484 Accepted 100
56 7 0075.5 7248 4288 Accepted 100
57 7 0151.5 7632 4492 Accepted 100
58 7 0144.9 7624 4420 Accepted 100
59 7 0028.6 6480 3396 Accepted 100
60 7 0054.9 6872 3772 Accepted 100
61 7 0213.2 9336 6412 Accepted 100
62 7 0216.2 9336 6432 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.14 KB
Back to Top