Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

33401
115556
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 3556 Accepted 100
1 1 5 0002.6 6216 3496 Accepted 100
2 2 4 5 0002.5 6216 3608 Accepted 100
3 2 4 5 0002.7 6216 3588 Accepted 100
4 2 4 5 0009.2 8024 5196 Accepted 100
5 2 4 5 0006.4 6948 4056 Accepted 100
6 2 4 5 0008.4 7616 4768 Accepted 100
7 2 4 5 0005.7 6776 3984 Accepted 100
8 2 4 5 0009.2 8020 5064 Accepted 100
9 2 4 5 0007.2 7232 4268 Accepted 100
10 2 4 5 0007.2 7320 4392 Accepted 100
11 2 4 5 0008.9 8000 5108 Accepted 100
12 2 4 5 0005.8 7264 4328 Accepted 100
13 2 4 5 0009.1 8004 5212 Accepted 100
14 2 4 5 0007.2 7712 4804 Accepted 100
15 2 4 5 0005.3 6908 4044 Accepted 100
16 2 4 5 0007.0 7680 4752 Accepted 100
17 2 4 5 0009.4 7912 5036 Accepted 100
18 2 4 5 0009.2 8324 5312 Accepted 100
19 2 4 5 0009.0 8196 5280 Accepted 100
20 2 4 5 0009.2 7968 5016 Accepted 100
21 2 4 5 0008.7 8052 5256 Accepted 100
22 2 4 5 0003.2 6432 3740 Accepted 100
23 2 4 5 0008.0 7620 4840 Accepted 100
24 2 4 5 0008.2 7668 4600 Accepted 100
25 2 4 5 0006.9 7180 4260 Accepted 100
26 3 5 0665.6 98968 93244 Accepted 100
27 3 5 0679.1 107152 102736 Accepted 100
28 3 5 0590.7 100724 97192 Accepted 100
29 3 5 0539.7 88312 83704 Accepted 100
30 3 5 0614.8 100152 96980 Accepted 100
31 3 5 0616.1 99584 96568 Accepted 100
32 3 5 0606.6 98668 95972 Accepted 100
33 3 5 0240.3 64052 43676 Accepted 100
34 3 5 0652.4 97964 91844 Accepted 100
35 3 5 0653.5 99772 92912 Accepted 100
36 3 5 0656.6 98884 93004 Accepted 100
37 3 5 0559.9 104468 100516 Accepted 100
38 3 5 0562.4 106608 101812 Accepted 100
39 3 5 0142.1 28920 22224 Accepted 100
40 3 5 0356.1 57708 47404 Accepted 100
41 3 5 0236.0 46088 35616 Accepted 100
42 3 5 0765.1 115964 109184 Accepted 100
43 3 5 0538.6 103124 98884 Accepted 100
44 3 5 0650.2 102988 99132 Accepted 100
45 3 5 0586.7 104628 100632 Accepted 100
46 3 5 0181.4 39280 31976 Accepted 100
47 3 5 0508.1 89040 84424 Accepted 100
48 3 5 0674.0 101096 94272 Accepted 100
49 3 5 0292.0 50056 38308 Accepted 100
50 3 5 0687.0 99040 91844 Accepted 100
51 4 5 0362.1 66940 64044 Accepted 100
52 4 5 0192.8 34612 29984 Accepted 100
53 4 5 0171.3 35204 30060 Accepted 100
54 4 5 0087.8 18392 14184 Accepted 100
55 4 5 0090.8 18000 13352 Accepted 100
56 4 5 0200.0 35148 31528 Accepted 100
57 4 5 0351.5 66720 63592 Accepted 100
58 4 5 0229.7 44528 39776 Accepted 100
59 4 5 0326.1 62064 58752 Accepted 100
60 4 5 0086.8 19396 14232 Accepted 100
61 4 5 0081.4 21604 15464 Accepted 100
62 4 5 0289.4 58976 54984 Accepted 100
63 4 5 0355.1 66940 63856 Accepted 100
64 4 5 0105.9 22996 16780 Accepted 100
65 4 5 0131.3 29464 22556 Accepted 100
66 4 5 0374.1 67148 64112 Accepted 100
67 4 5 0073.8 17636 12944 Accepted 100
68 4 5 0269.3 58640 54592 Accepted 100
69 4 5 0076.9 15604 11348 Accepted 100
70 4 5 0385.6 68260 65224 Accepted 100
71 4 5 0100.5 24640 19292 Accepted 100
72 4 5 0111.8 22488 17968 Accepted 100
73 4 5 0309.7 67704 64732 Accepted 100
74 4 5 0083.7 17100 12696 Accepted 100
75 4 5 0072.4 17976 12360 Accepted 100
76 4 5 0242.0 54584 51488 Accepted 100
77 4 5 0156.2 28840 24528 Accepted 100
78 5 0813.0 115112 108476 Accepted 100
79 5 0700.1 104120 100096 Accepted 100
80 5 0285.2 45488 34364 Accepted 100
81 5 0248.2 37316 28552 Accepted 100
82 5 0575.4 95844 93072 Accepted 100
83 5 0544.2 67148 61412 Accepted 100
84 5 0487.5 73884 66944 Accepted 100
85 5 0235.9 36480 29316 Accepted 100
86 5 0283.0 53924 39764 Accepted 100
87 5 0250.8 63176 43348 Accepted 100
88 5 0262.4 49140 38768 Accepted 100
89 5 0662.5 109804 99576 Accepted 100
90 5 0758.4 98952 92336 Accepted 100
91 5 0296.3 65320 44900 Accepted 100
92 5 0241.4 38992 28452 Accepted 100
93 5 0616.6 98868 95912 Accepted 100
94 5 0636.1 100280 97564 Accepted 100
95 5 0572.4 84392 76928 Accepted 100
96 5 0508.3 67440 52156 Accepted 100
97 5 0249.9 63184 43064 Accepted 100
98 5 0737.6 123132 115556 Accepted 100
99 5 0712.1 118536 112624 Accepted 100
100 5 0354.9 70900 49864 Accepted 100
101 5 0854.7 113896 107320 Accepted 100
102 5 0823.4 113068 106860 Accepted 100
103 5 0321.7 43232 33388 Accepted 100
104 5 0406.9 65696 60640 Accepted 100
105 5 0401.3 68568 48040 Accepted 100
106 5 0542.6 92240 84532 Accepted 100
107 5 0265.7 38904 30772 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
5.67 KB
Back to Top