Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

33587
115600
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 3640 Accepted 100
1 1 5 0002.6 6216 3648 Accepted 100
2 2 4 5 0002.5 6216 3604 Accepted 100
3 2 4 5 0002.5 6216 3584 Accepted 100
4 2 4 5 0009.2 8024 5184 Accepted 100
5 2 4 5 0006.4 6948 3984 Accepted 100
6 2 4 5 0008.4 7616 4692 Accepted 100
7 2 4 5 0005.9 6776 3992 Accepted 100
8 2 4 5 0009.7 8020 5224 Accepted 100
9 2 4 5 0007.1 7232 4304 Accepted 100
10 2 4 5 0007.4 7320 4332 Accepted 100
11 2 4 5 0009.1 8000 4844 Accepted 100
12 2 4 5 0006.0 7264 4304 Accepted 100
13 2 4 5 0009.1 8004 5044 Accepted 100
14 2 4 5 0007.3 7712 4700 Accepted 100
15 2 4 5 0005.5 6908 4176 Accepted 100
16 2 4 5 0007.2 7680 4768 Accepted 100
17 2 4 5 0008.9 7912 4980 Accepted 100
18 2 4 5 0009.3 8324 5280 Accepted 100
19 2 4 5 0009.0 8196 5340 Accepted 100
20 2 4 5 0009.1 7968 5104 Accepted 100
21 2 4 5 0008.7 8052 5112 Accepted 100
22 2 4 5 0003.2 6432 3796 Accepted 100
23 2 4 5 0008.0 7620 4692 Accepted 100
24 2 4 5 0008.0 7668 4596 Accepted 100
25 2 4 5 0007.0 7180 4312 Accepted 100
26 3 5 0674.8 98968 93296 Accepted 100
27 3 5 0682.4 107152 102640 Accepted 100
28 3 5 0592.3 100724 97180 Accepted 100
29 3 5 0540.0 88312 83548 Accepted 100
30 3 5 0612.5 100152 96992 Accepted 100
31 3 5 0609.9 99588 96640 Accepted 100
32 3 5 0596.7 98664 95784 Accepted 100
33 3 5 0243.6 64052 43720 Accepted 100
34 3 5 0651.3 97964 91768 Accepted 100
35 3 5 0657.2 99772 93004 Accepted 100
36 3 5 0658.5 98884 92948 Accepted 100
37 3 5 0556.2 104468 100428 Accepted 100
38 3 5 0559.9 106608 101716 Accepted 100
39 3 5 0140.2 28920 22388 Accepted 100
40 3 5 0354.3 57708 47324 Accepted 100
41 3 5 0234.6 46088 35664 Accepted 100
42 3 5 0767.5 115964 109124 Accepted 100
43 3 5 0539.4 103124 98968 Accepted 100
44 3 5 0635.8 102988 99172 Accepted 100
45 3 5 0577.0 104628 100760 Accepted 100
46 3 5 0182.8 39280 31772 Accepted 100
47 3 5 0482.3 89040 84396 Accepted 100
48 3 5 0637.6 101096 94224 Accepted 100
49 3 5 0270.9 50056 38248 Accepted 100
50 3 5 0635.5 99040 91808 Accepted 100
51 4 5 0354.7 66940 63968 Accepted 100
52 4 5 0192.8 34612 29868 Accepted 100
53 4 5 0158.0 35204 29952 Accepted 100
54 4 5 0086.8 18392 13940 Accepted 100
55 4 5 0090.4 18000 13360 Accepted 100
56 4 5 0192.1 35148 31484 Accepted 100
57 4 5 0353.5 66720 63680 Accepted 100
58 4 5 0227.8 44528 39776 Accepted 100
59 4 5 0329.2 62064 58864 Accepted 100
60 4 5 0086.4 19396 14092 Accepted 100
61 4 5 0080.0 21604 15308 Accepted 100
62 4 5 0286.5 58976 55040 Accepted 100
63 4 5 0353.1 66940 63924 Accepted 100
64 4 5 0107.2 22996 16764 Accepted 100
65 4 5 0145.5 29464 22688 Accepted 100
66 4 5 0438.1 67144 64256 Accepted 100
67 4 5 0074.6 17636 12932 Accepted 100
68 4 5 0278.3 58640 54556 Accepted 100
69 4 5 0079.9 15604 11232 Accepted 100
70 4 5 0388.9 68260 65260 Accepted 100
71 4 5 0102.2 24640 19104 Accepted 100
72 4 5 0104.6 22488 17956 Accepted 100
73 4 5 0316.9 67704 64776 Accepted 100
74 4 5 0086.1 17100 12616 Accepted 100
75 4 5 0072.6 17976 12268 Accepted 100
76 4 5 0247.3 54584 51500 Accepted 100
77 4 5 0159.4 28840 24640 Accepted 100
78 5 0837.6 115112 108636 Accepted 100
79 5 0736.5 104120 100140 Accepted 100
80 5 0291.7 45488 34544 Accepted 100
81 5 0248.7 37316 28540 Accepted 100
82 5 0579.8 95844 92884 Accepted 100
83 5 0555.1 67148 61612 Accepted 100
84 5 0491.4 73884 66800 Accepted 100
85 5 0238.0 36480 29256 Accepted 100
86 5 0293.9 53924 39852 Accepted 100
87 5 0253.0 63176 43212 Accepted 100
88 5 0264.3 49140 38748 Accepted 100
89 5 0693.5 109804 99464 Accepted 100
90 5 0802.2 98952 92264 Accepted 100
91 5 0317.0 65320 44836 Accepted 100
92 5 0245.3 38992 28568 Accepted 100
93 5 0654.3 98868 95840 Accepted 100
94 5 0654.3 100272 97360 Accepted 100
95 5 0574.2 84392 76972 Accepted 100
96 5 0520.7 67440 52292 Accepted 100
97 5 0251.8 63184 42940 Accepted 100
98 5 0737.3 123132 115600 Accepted 100
99 5 0706.9 118536 112760 Accepted 100
100 5 0364.6 70900 49896 Accepted 100
101 5 0832.4 113896 107528 Accepted 100
102 5 0832.7 113068 106948 Accepted 100
103 5 0290.9 43232 33488 Accepted 100
104 5 0422.2 65696 60448 Accepted 100
105 5 0413.6 68568 48124 Accepted 100
106 5 0549.4 92240 84532 Accepted 100
107 5 0268.5 38904 30800 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
5.67 KB
Back to Top