Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12887
27028
Wrong Answer
37

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$ 0 / 42
5 0~107 無其他限制 0 / 21

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0006.6 15636 7156 Accepted 100
1 1 5 0006.5 15636 7152 Accepted 100
2 2 4 5 0006.5 15636 7156 Accepted 100
3 2 4 5 0006.7 15636 7096 Accepted 100
4 2 4 5 0367.2 15636 7272 Accepted 100
5 2 4 5 0020.7 15636 7076 Accepted 100
6 2 4 5 0215.1 15636 7272 Accepted 100
7 2 4 5 0009.9 15636 7308 Accepted 100
8 2 4 5 0250.1 15636 7276 Accepted 100
9 2 4 5 0062.4 15636 7176 Accepted 100
10 2 4 5 0049.1 15636 7192 Accepted 100
11 2 4 5 0248.4 15636 7332 Accepted 100
12 2 4 5 0063.5 15636 7152 Accepted 100
13 2 4 5 0238.9 15636 7196 Accepted 100
14 2 4 5 0200.8 15636 7236 Accepted 100
15 2 4 5 0009.0 15636 7152 Accepted 100
16 2 4 5 0087.2 15636 7192 Accepted 100
17 2 4 5 0247.0 15636 7268 Accepted 100
18 2 4 5 0256.2 15636 7236 Accepted 100
19 2 4 5 0328.1 15636 7100 Accepted 100
20 2 4 5 0353.8 15636 7332 Accepted 100
21 2 4 5 0471.0 15636 7224 Accepted 100
22 2 4 5 0008.8 15636 7140 Accepted 100
23 2 4 5 0190.2 15636 7200 Accepted 100
24 2 4 5 0136.6 15636 7268 Accepted 100
25 2 4 5 0024.1 15636 7252 Accepted 100
26 3 5 0192.0 29172 21708 Accepted 100
27 3 5 0178.6 28504 21248 Accepted 100
28 3 5 0136.1 25316 18208 Accepted 100
29 3 5 0133.9 26096 18736 Accepted 100
30 3 5 0137.1 25208 18024 Accepted 100
31 3 5 0137.1 34192 26900 Accepted 100
32 3 5 0137.8 34196 26904 Accepted 100
33 3 5 0075.4 19068 10408 Accepted 100
34 3 5 0185.8 28900 21464 Accepted 100
35 3 5 0189.5 28516 21004 Accepted 100
36 3 5 0193.3 29184 21712 Accepted 100
37 3 5 0117.6 21412 14400 Accepted 100
38 3 5 0122.9 21740 14512 Accepted 100
39 3 5 0054.6 18292 9876 Accepted 100
40 3 5 0117.9 22224 14180 Accepted 100
41 3 5 0092.4 20208 11668 Accepted 100
42 3 5 0203.9 28236 21080 Accepted 100
43 3 5 0116.8 21556 13236 Accepted 100
44 3 5 0155.7 28480 21264 Accepted 100
45 3 5 0131.1 22372 15072 Accepted 100
46 3 5 0063.5 19464 10592 Accepted 100
47 3 5 0120.0 21540 13880 Accepted 100
48 3 5 0170.7 26368 18704 Accepted 100
49 3 5 0100.0 20096 11800 Accepted 100
50 3 5 0171.4 26348 18872 Accepted 100
51 4 5 0063.0 18804 11188 Wrong Answer 0
52 4 5 0056.2 19668 11504 Wrong Answer 0
53 4 5 0050.9 19672 11472 Accepted 100
54 4 5 0032.0 16956 8284 Wrong Answer 0
55 4 5 0037.1 16896 8524 Wrong Answer 0
56 4 5 0058.7 19884 11888 Wrong Answer 0
57 4 5 0065.1 19096 11360 Wrong Answer 0
58 4 5 0056.9 18920 10920 Wrong Answer 0
59 4 5 0069.9 20716 13172 Wrong Answer 0
60 4 5 0037.4 17092 8624 Wrong Answer 0
61 4 5 0030.6 16956 8352 Wrong Answer 0
62 4 5 0062.4 18888 11080 Wrong Answer 0
63 4 5 0065.5 18804 11084 Wrong Answer 0
64 4 5 0040.4 17016 8696 Wrong Answer 0
65 4 5 0043.3 18144 9688 Wrong Answer 0
66 4 5 0075.9 24800 17328 Wrong Answer 0
67 4 5 0035.5 16824 8296 Wrong Answer 0
68 4 5 0061.7 18420 10596 Wrong Answer 0
69 4 5 0031.1 16692 8036 Wrong Answer 0
70 4 5 0120.8 27924 20376 Wrong Answer 0
71 4 5 0040.1 17816 9544 Wrong Answer 0
72 4 5 0047.0 17820 9436 Wrong Answer 0
73 4 5 0108.9 19356 11696 Wrong Answer 0
74 4 5 0035.9 17088 8536 Wrong Answer 0
75 4 5 0028.2 16824 8188 Wrong Answer 0
76 4 5 0050.4 18584 10884 Wrong Answer 0
77 4 5 0050.5 18664 10132 Wrong Answer 0
78 5 0229.8 30548 23408 Wrong Answer 0
79 5 0178.9 27176 20004 Wrong Answer 0
80 5 0114.3 20040 11612 Wrong Answer 0
81 5 0092.6 19992 11416 Wrong Answer 0
82 5 0109.1 21908 14752 Wrong Answer 0
83 5 0161.9 25044 17228 Wrong Answer 0
84 5 0130.3 25448 17756 Wrong Answer 0
85 5 0090.5 18724 10336 Wrong Answer 0
86 5 0095.7 19492 11028 Wrong Answer 0
87 5 0076.7 19464 10692 Wrong Answer 0
88 5 0088.7 19332 10788 Wrong Answer 0
89 5 0176.1 26572 19100 Wrong Answer 0
90 5 0208.4 29176 21728 Wrong Answer 0
91 5 0096.9 19088 10404 Wrong Answer 0
92 5 0086.9 19068 10380 Wrong Answer 0
93 5 0139.5 34196 27008 Wrong Answer 0
94 5 0143.0 34192 27028 Wrong Answer 0
95 5 0168.4 25660 17256 Wrong Answer 0
96 5 0137.6 23096 14816 Wrong Answer 0
97 5 0076.9 19464 10740 Wrong Answer 0
98 5 0218.9 26592 19376 Wrong Answer 0
99 5 0188.4 25064 17928 Wrong Answer 0
100 5 0113.3 20320 12004 Wrong Answer 0
101 5 0210.5 29176 22032 Wrong Answer 0
102 5 0214.7 29112 21948 Wrong Answer 0
103 5 0105.2 20380 11588 Wrong Answer 0
104 5 0125.9 20604 12640 Wrong Answer 0
105 5 0113.4 20704 12396 Wrong Answer 0
106 5 0158.9 22796 14736 Wrong Answer 0
107 5 0080.8 19264 10724 Wrong Answer 0
Submitter:
pcc
Compiler:
c++17
Code Length:
2.31 KB
Back to Top