Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

33817
115692
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 3600 Accepted 100
2 2 4 5 0002.7 6216 3580 Accepted 100
3 2 4 5 0002.5 6216 3608 Accepted 100
4 2 4 5 0009.2 8024 5052 Accepted 100
5 2 4 5 0006.5 6948 4048 Accepted 100
6 2 4 5 0008.4 7616 4816 Accepted 100
7 2 4 5 0005.7 6776 4040 Accepted 100
8 2 4 5 0009.2 8020 5212 Accepted 100
9 2 4 5 0007.1 7232 4372 Accepted 100
10 2 4 5 0007.2 7320 4308 Accepted 100
11 2 4 5 0008.9 8000 4912 Accepted 100
12 2 4 5 0005.9 7264 4328 Accepted 100
13 2 4 5 0009.1 8004 5160 Accepted 100
14 2 4 5 0007.2 7712 4756 Accepted 100
15 2 4 5 0005.3 6908 4040 Accepted 100
16 2 4 5 0007.0 7680 4844 Accepted 100
17 2 4 5 0009.0 7912 5172 Accepted 100
18 2 4 5 0009.1 8324 5160 Accepted 100
19 2 4 5 0009.0 8196 5240 Accepted 100
20 2 4 5 0009.3 7968 5068 Accepted 100
21 2 4 5 0008.7 8052 5140 Accepted 100
22 2 4 5 0003.3 6432 3660 Accepted 100
23 2 4 5 0008.1 7620 4728 Accepted 100
24 2 4 5 0008.2 7668 4804 Accepted 100
25 2 4 5 0007.0 7180 4092 Accepted 100
26 3 5 0664.8 98968 93068 Accepted 100
27 3 5 0682.1 107152 102676 Accepted 100
28 3 5 0592.5 100724 97036 Accepted 100
29 3 5 0531.1 88312 83536 Accepted 100
30 3 5 0681.8 100152 96856 Accepted 100
31 3 5 0627.9 99588 96776 Accepted 100
32 3 5 0637.5 98664 95776 Accepted 100
33 3 5 0239.1 64052 43672 Accepted 100
34 3 5 0667.1 97964 91956 Accepted 100
35 3 5 0649.3 99772 92908 Accepted 100
36 3 5 0666.6 98884 92860 Accepted 100
37 3 5 0553.2 104468 100372 Accepted 100
38 3 5 0566.7 106608 101808 Accepted 100
39 3 5 0144.7 28920 22224 Accepted 100
40 3 5 0367.2 57708 47192 Accepted 100
41 3 5 0242.5 46088 35532 Accepted 100
42 3 5 0770.4 115964 109072 Accepted 100
43 3 5 0540.8 103124 98824 Accepted 100
44 3 5 0650.6 102988 99108 Accepted 100
45 3 5 0584.1 104628 100668 Accepted 100
46 3 5 0183.7 39280 31944 Accepted 100
47 3 5 0485.9 89040 84424 Accepted 100
48 3 5 0652.2 101096 94212 Accepted 100
49 3 5 0266.3 50056 38364 Accepted 100
50 3 5 0644.9 99040 91720 Accepted 100
51 4 5 0358.0 66940 63836 Accepted 100
52 4 5 0192.7 34612 29904 Accepted 100
53 4 5 0166.2 35204 30012 Accepted 100
54 4 5 0087.4 18392 13928 Accepted 100
55 4 5 0090.2 18000 13376 Accepted 100
56 4 5 0203.5 35148 31536 Accepted 100
57 4 5 0376.3 66720 63720 Accepted 100
58 4 5 0237.8 44528 39848 Accepted 100
59 4 5 0380.9 62064 58708 Accepted 100
60 4 5 0092.3 19396 14120 Accepted 100
61 4 5 0084.2 21604 15468 Accepted 100
62 4 5 0294.1 58976 54980 Accepted 100
63 4 5 0350.2 66940 63892 Accepted 100
64 4 5 0108.3 22996 16568 Accepted 100
65 4 5 0131.5 29464 22632 Accepted 100
66 4 5 0377.7 67144 64192 Accepted 100
67 4 5 0078.7 17636 12796 Accepted 100
68 4 5 0274.0 58640 54700 Accepted 100
69 4 5 0079.7 15604 11320 Accepted 100
70 4 5 0388.5 68260 65156 Accepted 100
71 4 5 0104.0 24640 19060 Accepted 100
72 4 5 0106.0 22488 17816 Accepted 100
73 4 5 0318.4 67704 64720 Accepted 100
74 4 5 0083.0 17100 12508 Accepted 100
75 4 5 0071.6 17976 12240 Accepted 100
76 4 5 0246.5 54584 51452 Accepted 100
77 4 5 0156.4 28840 24436 Accepted 100
78 5 0817.3 115112 108592 Accepted 100
79 5 0694.9 104120 99984 Accepted 100
80 5 0286.1 45488 34536 Accepted 100
81 5 0245.6 37316 28536 Accepted 100
82 5 0581.9 95844 93040 Accepted 100
83 5 0550.0 67148 61476 Accepted 100
84 5 0493.6 73884 66784 Accepted 100
85 5 0237.8 36480 29260 Accepted 100
86 5 0287.7 53924 39908 Accepted 100
87 5 0255.8 63176 43264 Accepted 100
88 5 0271.8 49140 38600 Accepted 100
89 5 0684.2 109804 99664 Accepted 100
90 5 0807.0 98952 92284 Accepted 100
91 5 0298.7 65320 44904 Accepted 100
92 5 0241.6 38992 28464 Accepted 100
93 5 0623.3 98872 95804 Accepted 100
94 5 0635.2 100272 97460 Accepted 100
95 5 0570.6 84392 77016 Accepted 100
96 5 0533.9 67436 52320 Accepted 100
97 5 0249.3 63184 42948 Accepted 100
98 5 0765.7 123132 115692 Accepted 100
99 5 0729.0 118536 112768 Accepted 100
100 5 0366.2 70900 49932 Accepted 100
101 5 0854.4 113896 107472 Accepted 100
102 5 0873.9 113068 106888 Accepted 100
103 5 0298.5 43232 33340 Accepted 100
104 5 0420.3 65696 60424 Accepted 100
105 5 0405.4 68568 48104 Accepted 100
106 5 0559.2 92240 84572 Accepted 100
107 5 0268.6 38904 30784 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
5.67 KB
Back to Top