Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5328
5232
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 6056 3608 Accepted 100
1 1 2 3 7 0002.8 6056 3504 Accepted 100
2 1 2 3 7 0003.6 6056 3612 Accepted 100
3 2 3 7 0002.7 6056 3612 Accepted 100
4 2 3 7 0002.6 6056 3492 Accepted 100
5 2 3 7 0002.6 6056 3572 Accepted 100
6 2 3 7 0003.1 6056 3480 Accepted 100
7 2 3 7 0002.4 6056 3460 Accepted 100
8 2 3 7 0002.6 6056 3632 Accepted 100
9 2 3 7 0002.6 6056 3500 Accepted 100
10 2 3 7 0002.8 6056 3572 Accepted 100
11 2 3 7 0002.7 6056 3604 Accepted 100
12 2 3 7 0002.7 6056 3604 Accepted 100
13 3 7 0014.2 6056 3684 Accepted 100
14 3 7 0014.6 6056 3560 Accepted 100
15 3 7 0012.2 6056 3576 Accepted 100
16 3 7 0009.5 6056 3720 Accepted 100
17 3 7 0005.3 6056 3652 Accepted 100
18 3 7 0010.7 6056 3664 Accepted 100
19 3 7 0009.9 6056 3716 Accepted 100
20 3 7 0016.3 6056 3672 Accepted 100
21 3 7 0012.6 6056 3436 Accepted 100
22 3 7 0012.1 6056 3548 Accepted 100
23 4 7 0013.6 6056 3680 Accepted 100
24 4 7 0014.1 6056 3480 Accepted 100
25 4 7 0007.0 6056 3516 Accepted 100
26 4 7 0016.1 6056 3600 Accepted 100
27 4 7 0014.7 6056 3472 Accepted 100
28 4 7 0005.8 6056 3588 Accepted 100
29 4 7 0009.2 6056 3652 Accepted 100
30 4 7 0012.6 6056 3640 Accepted 100
31 4 7 0014.1 6056 3684 Accepted 100
32 4 6 7 0014.4 6056 3572 Accepted 100
33 5 6 7 0269.3 7496 4968 Accepted 100
34 5 6 7 0274.2 7496 5132 Accepted 100
35 5 6 7 0202.9 7352 5020 Accepted 100
36 5 6 7 0045.4 6248 3916 Accepted 100
37 5 6 7 0197.6 7296 5028 Accepted 100
38 5 6 7 0163.9 7080 4748 Accepted 100
39 5 6 7 0151.6 6960 4628 Accepted 100
40 5 6 7 0012.3 6056 3476 Accepted 100
41 5 6 7 0217.5 7496 5164 Accepted 100
42 5 6 7 0226.4 7496 5196 Accepted 100
43 6 7 0227.7 7496 5056 Accepted 100
44 6 7 0238.1 7500 5232 Accepted 100
45 6 7 0102.4 6664 4296 Accepted 100
46 6 7 0183.8 7256 4808 Accepted 100
47 6 7 0127.9 6864 4536 Accepted 100
48 6 7 0107.4 6708 4344 Accepted 100
49 6 7 0003.8 6056 3420 Accepted 100
50 6 7 0033.8 6196 3928 Accepted 100
51 6 7 0203.8 7496 5036 Accepted 100
52 6 7 0205.4 7496 5164 Accepted 100
53 7 0266.8 7492 5192 Accepted 100
54 7 0273.3 7496 4968 Accepted 100
55 7 0246.7 7096 4732 Accepted 100
56 7 0108.9 6448 3920 Accepted 100
57 7 0184.1 6640 4308 Accepted 100
58 7 0172.2 6636 4272 Accepted 100
59 7 0033.7 6068 3740 Accepted 100
60 7 0062.1 6264 3736 Accepted 100
61 7 0275.8 7492 5164 Accepted 100
62 7 0234.4 7500 5168 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.28 KB
Back to Top