Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

33500
115588
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.5 6216 3648 Accepted 100
1 1 5 0002.6 6216 3568 Accepted 100
2 2 4 5 0002.6 6216 3584 Accepted 100
3 2 4 5 0002.6 6216 3500 Accepted 100
4 2 4 5 0009.3 8024 5196 Accepted 100
5 2 4 5 0006.7 6948 4052 Accepted 100
6 2 4 5 0008.7 7616 4780 Accepted 100
7 2 4 5 0005.9 6776 4044 Accepted 100
8 2 4 5 0009.3 8020 5236 Accepted 100
9 2 4 5 0007.3 7232 4328 Accepted 100
10 2 4 5 0007.2 7320 4332 Accepted 100
11 2 4 5 0008.9 8000 5048 Accepted 100
12 2 4 5 0006.0 7264 4264 Accepted 100
13 2 4 5 0009.0 8004 5204 Accepted 100
14 2 4 5 0007.3 7712 4704 Accepted 100
15 2 4 5 0005.5 6908 4112 Accepted 100
16 2 4 5 0007.0 7680 4700 Accepted 100
17 2 4 5 0009.0 7912 5068 Accepted 100
18 2 4 5 0009.2 8324 5132 Accepted 100
19 2 4 5 0009.1 8196 5128 Accepted 100
20 2 4 5 0009.2 7968 5112 Accepted 100
21 2 4 5 0008.7 8052 5280 Accepted 100
22 2 4 5 0003.2 6432 3660 Accepted 100
23 2 4 5 0008.0 7620 4832 Accepted 100
24 2 4 5 0008.0 7668 4660 Accepted 100
25 2 4 5 0007.0 7180 4304 Accepted 100
26 3 5 0671.4 98968 93120 Accepted 100
27 3 5 0677.9 107152 102804 Accepted 100
28 3 5 0610.2 100724 97136 Accepted 100
29 3 5 0559.5 88312 83592 Accepted 100
30 3 5 0627.8 100152 96828 Accepted 100
31 3 5 0617.1 99584 96728 Accepted 100
32 3 5 0604.5 98668 95976 Accepted 100
33 3 5 0239.2 64052 43584 Accepted 100
34 3 5 0654.4 97964 91852 Accepted 100
35 3 5 0657.2 99772 92944 Accepted 100
36 3 5 0654.4 98884 92896 Accepted 100
37 3 5 0548.9 104468 100384 Accepted 100
38 3 5 0556.2 106608 101740 Accepted 100
39 3 5 0143.6 28920 22256 Accepted 100
40 3 5 0347.7 57708 47392 Accepted 100
41 3 5 0235.8 46088 35636 Accepted 100
42 3 5 0781.0 115964 108972 Accepted 100
43 3 5 0540.4 103124 98988 Accepted 100
44 3 5 0641.9 102988 99036 Accepted 100
45 3 5 0588.9 104628 100604 Accepted 100
46 3 5 0184.0 39280 31920 Accepted 100
47 3 5 0482.9 89040 84508 Accepted 100
48 3 5 0645.8 101096 94120 Accepted 100
49 3 5 0271.5 50056 38348 Accepted 100
50 3 5 0631.6 99040 91704 Accepted 100
51 4 5 0352.0 66940 63996 Accepted 100
52 4 5 0190.1 34612 29872 Accepted 100
53 4 5 0170.2 35204 29944 Accepted 100
54 4 5 0086.5 18392 14076 Accepted 100
55 4 5 0091.6 18000 13592 Accepted 100
56 4 5 0203.6 35148 31560 Accepted 100
57 4 5 0363.3 66720 63728 Accepted 100
58 4 5 0225.0 44528 39768 Accepted 100
59 4 5 0337.5 62064 58704 Accepted 100
60 4 5 0090.4 19396 14112 Accepted 100
61 4 5 0080.3 21604 15288 Accepted 100
62 4 5 0289.0 58976 54820 Accepted 100
63 4 5 0360.1 66940 63896 Accepted 100
64 4 5 0110.5 22996 16548 Accepted 100
65 4 5 0132.8 29464 22680 Accepted 100
66 4 5 0378.3 67148 64160 Accepted 100
67 4 5 0074.5 17636 12796 Accepted 100
68 4 5 0277.8 58640 54712 Accepted 100
69 4 5 0077.3 15604 11184 Accepted 100
70 4 5 0388.3 68260 65256 Accepted 100
71 4 5 0102.8 24640 19172 Accepted 100
72 4 5 0109.3 22488 17756 Accepted 100
73 4 5 0316.8 67704 64796 Accepted 100
74 4 5 0084.0 17100 12760 Accepted 100
75 4 5 0070.7 17976 12212 Accepted 100
76 4 5 0245.7 54584 51560 Accepted 100
77 4 5 0163.5 28840 24416 Accepted 100
78 5 0821.2 115112 108692 Accepted 100
79 5 0698.9 104120 99992 Accepted 100
80 5 0287.2 45488 34528 Accepted 100
81 5 0247.5 37316 28412 Accepted 100
82 5 0580.5 95844 92884 Accepted 100
83 5 0549.0 67148 61520 Accepted 100
84 5 0502.0 73884 66944 Accepted 100
85 5 0239.2 36480 29164 Accepted 100
86 5 0285.5 53924 39764 Accepted 100
87 5 0249.8 63176 43348 Accepted 100
88 5 0262.5 49140 38768 Accepted 100
89 5 0664.3 109804 99604 Accepted 100
90 5 0770.0 98952 92268 Accepted 100
91 5 0298.3 65320 44896 Accepted 100
92 5 0249.8 38992 28612 Accepted 100
93 5 0628.1 98864 95964 Accepted 100
94 5 0636.8 100276 97520 Accepted 100
95 5 0573.0 84392 76824 Accepted 100
96 5 0529.7 67440 52156 Accepted 100
97 5 0250.2 63184 42904 Accepted 100
98 5 0742.8 123132 115588 Accepted 100
99 5 0713.4 118536 112772 Accepted 100
100 5 0362.5 70900 49944 Accepted 100
101 5 0860.0 113896 107544 Accepted 100
102 5 0850.8 113068 107024 Accepted 100
103 5 0291.1 43232 33488 Accepted 100
104 5 0420.5 65696 60428 Accepted 100
105 5 0399.5 68568 48012 Accepted 100
106 5 0544.2 92240 84532 Accepted 100
107 5 0266.9 38904 30796 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
5.67 KB
Back to Top