Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

33479
115592
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 3600 Accepted 100
1 1 5 0002.6 6216 3604 Accepted 100
2 2 4 5 0002.6 6216 3612 Accepted 100
3 2 4 5 0002.9 6216 3652 Accepted 100
4 2 4 5 0009.5 8024 5184 Accepted 100
5 2 4 5 0006.5 6948 4056 Accepted 100
6 2 4 5 0008.5 7616 4848 Accepted 100
7 2 4 5 0005.8 6776 3996 Accepted 100
8 2 4 5 0009.3 8020 5212 Accepted 100
9 2 4 5 0007.2 7232 4308 Accepted 100
10 2 4 5 0007.4 7320 4328 Accepted 100
11 2 4 5 0009.0 8000 4948 Accepted 100
12 2 4 5 0006.0 7264 4264 Accepted 100
13 2 4 5 0009.4 8004 5140 Accepted 100
14 2 4 5 0007.2 7712 4720 Accepted 100
15 2 4 5 0005.4 6908 4048 Accepted 100
16 2 4 5 0007.0 7680 4764 Accepted 100
17 2 4 5 0009.0 7912 5152 Accepted 100
18 2 4 5 0009.2 8324 5292 Accepted 100
19 2 4 5 0008.9 8196 5128 Accepted 100
20 2 4 5 0009.5 7968 5100 Accepted 100
21 2 4 5 0008.8 8052 5284 Accepted 100
22 2 4 5 0003.4 6432 3688 Accepted 100
23 2 4 5 0008.0 7620 4764 Accepted 100
24 2 4 5 0008.0 7668 4764 Accepted 100
25 2 4 5 0006.9 7180 4152 Accepted 100
26 3 5 0663.3 98968 93140 Accepted 100
27 3 5 0685.3 107152 102708 Accepted 100
28 3 5 0601.2 100724 97104 Accepted 100
29 3 5 0540.4 88312 83688 Accepted 100
30 3 5 0605.2 100152 96936 Accepted 100
31 3 5 0613.4 99588 96784 Accepted 100
32 3 5 0596.2 98668 95884 Accepted 100
33 3 5 0241.4 64052 43728 Accepted 100
34 3 5 0644.1 97964 91960 Accepted 100
35 3 5 0649.9 99772 92812 Accepted 100
36 3 5 0654.0 98884 93008 Accepted 100
37 3 5 0555.0 104468 100384 Accepted 100
38 3 5 0554.3 106608 101740 Accepted 100
39 3 5 0138.3 28920 22268 Accepted 100
40 3 5 0351.3 57708 47176 Accepted 100
41 3 5 0233.6 46088 35616 Accepted 100
42 3 5 0770.3 115964 109116 Accepted 100
43 3 5 0539.5 103124 98912 Accepted 100
44 3 5 0636.7 102988 99220 Accepted 100
45 3 5 0584.9 104628 100832 Accepted 100
46 3 5 0181.0 39280 31792 Accepted 100
47 3 5 0480.1 89040 84392 Accepted 100
48 3 5 0642.4 101096 94276 Accepted 100
49 3 5 0267.1 50056 38396 Accepted 100
50 3 5 0629.2 99040 91872 Accepted 100
51 4 5 0350.4 66940 63840 Accepted 100
52 4 5 0190.5 34612 29956 Accepted 100
53 4 5 0160.1 35204 29996 Accepted 100
54 4 5 0086.3 18392 13968 Accepted 100
55 4 5 0094.7 18000 13420 Accepted 100
56 4 5 0192.4 35148 31504 Accepted 100
57 4 5 0352.1 66720 63576 Accepted 100
58 4 5 0228.4 44528 39716 Accepted 100
59 4 5 0327.0 62064 58788 Accepted 100
60 4 5 0086.2 19396 14184 Accepted 100
61 4 5 0080.1 21604 15392 Accepted 100
62 4 5 0291.8 58976 54852 Accepted 100
63 4 5 0354.5 66940 63944 Accepted 100
64 4 5 0107.6 22996 16660 Accepted 100
65 4 5 0134.1 29464 22596 Accepted 100
66 4 5 0376.3 67148 64204 Accepted 100
67 4 5 0074.6 17636 12772 Accepted 100
68 4 5 0273.9 58640 54700 Accepted 100
69 4 5 0076.0 15604 11308 Accepted 100
70 4 5 0384.6 68256 65320 Accepted 100
71 4 5 0106.8 24640 19220 Accepted 100
72 4 5 0105.2 22488 17820 Accepted 100
73 4 5 0317.0 67704 64796 Accepted 100
74 4 5 0082.7 17100 12724 Accepted 100
75 4 5 0071.1 17976 12156 Accepted 100
76 4 5 0242.6 54584 51520 Accepted 100
77 4 5 0155.7 28840 24600 Accepted 100
78 5 0807.2 115112 108624 Accepted 100
79 5 0696.7 104120 100140 Accepted 100
80 5 0293.4 45488 34516 Accepted 100
81 5 0245.9 37316 28516 Accepted 100
82 5 0583.8 95844 93028 Accepted 100
83 5 0548.5 67148 61508 Accepted 100
84 5 0491.6 73884 66728 Accepted 100
85 5 0236.4 36480 29164 Accepted 100
86 5 0288.1 53924 39916 Accepted 100
87 5 0251.5 63176 43196 Accepted 100
88 5 0264.4 49140 38616 Accepted 100
89 5 0676.6 109804 99628 Accepted 100
90 5 0771.8 98952 92336 Accepted 100
91 5 0297.0 65320 44904 Accepted 100
92 5 0256.7 38992 28512 Accepted 100
93 5 0704.0 98868 95924 Accepted 100
94 5 0642.1 100276 97372 Accepted 100
95 5 0574.6 84392 77100 Accepted 100
96 5 0541.6 67440 52156 Accepted 100
97 5 0250.9 63184 43028 Accepted 100
98 5 0746.9 123132 115592 Accepted 100
99 5 0712.6 118536 112676 Accepted 100
100 5 0355.8 70900 49800 Accepted 100
101 5 0851.9 113896 107412 Accepted 100
102 5 0839.1 113068 107004 Accepted 100
103 5 0286.3 43232 33344 Accepted 100
104 5 0423.7 65696 60592 Accepted 100
105 5 0461.5 68568 48040 Accepted 100
106 5 0558.8 92240 84640 Accepted 100
107 5 0278.5 38904 30796 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
5.67 KB
Back to Top