Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

33539
115748
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~25 $n \leq 2500, m \leq 5000$ 17 / 17
3 26~50 $c_i = 1$ 20 / 20
4 2~25, 51~77 $n \leq 100000, m \leq 100000$ 42 / 42
5 0~107 無其他限制 21 / 21

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0002.6 6216 3500 Accepted 100
1 1 5 0002.5 6216 3644 Accepted 100
2 2 4 5 0002.5 6216 3576 Accepted 100
3 2 4 5 0002.5 6216 3644 Accepted 100
4 2 4 5 0009.2 8024 5180 Accepted 100
5 2 4 5 0006.5 6948 4020 Accepted 100
6 2 4 5 0008.5 7616 4840 Accepted 100
7 2 4 5 0005.7 6776 3936 Accepted 100
8 2 4 5 0009.5 8020 5220 Accepted 100
9 2 4 5 0007.2 7232 4332 Accepted 100
10 2 4 5 0007.4 7320 4220 Accepted 100
11 2 4 5 0009.0 8000 5052 Accepted 100
12 2 4 5 0006.0 7264 4332 Accepted 100
13 2 4 5 0009.4 8004 5164 Accepted 100
14 2 4 5 0007.1 7712 4904 Accepted 100
15 2 4 5 0005.4 6908 4108 Accepted 100
16 2 4 5 0007.0 7680 4808 Accepted 100
17 2 4 5 0009.0 7912 5172 Accepted 100
18 2 4 5 0009.1 8324 5308 Accepted 100
19 2 4 5 0009.0 8196 5352 Accepted 100
20 2 4 5 0009.2 7968 5104 Accepted 100
21 2 4 5 0008.7 8052 5264 Accepted 100
22 2 4 5 0003.2 6432 3592 Accepted 100
23 2 4 5 0008.1 7620 4816 Accepted 100
24 2 4 5 0008.0 7668 4744 Accepted 100
25 2 4 5 0006.9 7180 4300 Accepted 100
26 3 5 0664.7 98968 93272 Accepted 100
27 3 5 0680.1 107152 102724 Accepted 100
28 3 5 0590.2 100724 97108 Accepted 100
29 3 5 0530.7 88312 83492 Accepted 100
30 3 5 0613.0 100152 96764 Accepted 100
31 3 5 0618.3 99588 96564 Accepted 100
32 3 5 0606.0 98672 95804 Accepted 100
33 3 5 0244.5 64052 43792 Accepted 100
34 3 5 0653.2 97964 91916 Accepted 100
35 3 5 0662.3 99772 92944 Accepted 100
36 3 5 0666.8 98884 92856 Accepted 100
37 3 5 0577.5 104468 100516 Accepted 100
38 3 5 0567.2 106608 101712 Accepted 100
39 3 5 0141.1 28920 22348 Accepted 100
40 3 5 0355.3 57708 47336 Accepted 100
41 3 5 0236.6 46088 35616 Accepted 100
42 3 5 0769.3 115964 109136 Accepted 100
43 3 5 0543.4 103124 98792 Accepted 100
44 3 5 0654.0 102988 99124 Accepted 100
45 3 5 0581.0 104628 100712 Accepted 100
46 3 5 0181.8 39280 32004 Accepted 100
47 3 5 0486.1 89040 84496 Accepted 100
48 3 5 0634.9 101096 94200 Accepted 100
49 3 5 0268.6 50056 38400 Accepted 100
50 3 5 0665.1 99040 91864 Accepted 100
51 4 5 0358.7 66940 63928 Accepted 100
52 4 5 0197.7 34612 29976 Accepted 100
53 4 5 0162.4 35204 29952 Accepted 100
54 4 5 0112.8 18392 14124 Accepted 100
55 4 5 0095.9 18000 13544 Accepted 100
56 4 5 0229.7 35148 31540 Accepted 100
57 4 5 0370.9 66720 63632 Accepted 100
58 4 5 0228.6 44528 39848 Accepted 100
59 4 5 0327.8 62064 58784 Accepted 100
60 4 5 0086.4 19396 14084 Accepted 100
61 4 5 0082.0 21604 15416 Accepted 100
62 4 5 0291.4 58976 54936 Accepted 100
63 4 5 0348.8 66940 63832 Accepted 100
64 4 5 0108.5 22996 16664 Accepted 100
65 4 5 0133.6 29464 22756 Accepted 100
66 4 5 0375.2 67148 64288 Accepted 100
67 4 5 0074.0 17636 12828 Accepted 100
68 4 5 0272.3 58640 54492 Accepted 100
69 4 5 0077.5 15604 11116 Accepted 100
70 4 5 0398.8 68260 65224 Accepted 100
71 4 5 0104.1 24640 19132 Accepted 100
72 4 5 0109.8 22488 17860 Accepted 100
73 4 5 0329.9 67704 64652 Accepted 100
74 4 5 0083.5 17100 12756 Accepted 100
75 4 5 0122.1 17976 12216 Accepted 100
76 4 5 0246.9 54584 51572 Accepted 100
77 4 5 0156.7 28840 24564 Accepted 100
78 5 0811.3 115112 108588 Accepted 100
79 5 0695.9 104120 99924 Accepted 100
80 5 0291.2 45488 34460 Accepted 100
81 5 0247.4 37316 28536 Accepted 100
82 5 0584.1 95844 92984 Accepted 100
83 5 0557.2 67148 61544 Accepted 100
84 5 0491.5 73884 66792 Accepted 100
85 5 0242.0 36480 29248 Accepted 100
86 5 0287.9 53924 39968 Accepted 100
87 5 0258.7 63176 43232 Accepted 100
88 5 0264.0 49140 38780 Accepted 100
89 5 0663.1 109804 99588 Accepted 100
90 5 0759.7 98952 92324 Accepted 100
91 5 0295.0 65320 44892 Accepted 100
92 5 0245.6 38992 28632 Accepted 100
93 5 0614.3 98864 95972 Accepted 100
94 5 0635.4 100276 97520 Accepted 100
95 5 0568.7 84392 76972 Accepted 100
96 5 0515.7 67432 52292 Accepted 100
97 5 0249.3 63184 42948 Accepted 100
98 5 0745.8 123132 115748 Accepted 100
99 5 0709.6 118536 112612 Accepted 100
100 5 0356.6 70900 50000 Accepted 100
101 5 0824.7 113896 107432 Accepted 100
102 5 0830.3 113068 107024 Accepted 100
103 5 0286.2 43232 33380 Accepted 100
104 5 0410.5 65696 60644 Accepted 100
105 5 0407.1 68568 47920 Accepted 100
106 5 0563.8 92240 84596 Accepted 100
107 5 0269.9 38904 31000 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
5.67 KB
Back to Top