Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

32947
100784
Wrong Answer
59

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$ 0 / 20
4 2~25, 51~77 $n \leq 100000, m \leq 100000$ 42 / 42
5 0~107 無其他限制 0 / 21

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0020.0 47240 17612 Accepted 100
1 1 5 0020.0 47240 17788 Accepted 100
2 2 4 5 0021.1 47240 17668 Accepted 100
3 2 4 5 0020.8 47240 17640 Accepted 100
4 2 4 5 0027.7 48356 18804 Accepted 100
5 2 4 5 0027.6 48620 18632 Accepted 100
6 2 4 5 0028.2 48328 18776 Accepted 100
7 2 4 5 0026.4 48492 18444 Accepted 100
8 2 4 5 0028.0 48360 18956 Accepted 100
9 2 4 5 0027.0 48460 18636 Accepted 100
10 2 4 5 0027.3 48276 18660 Accepted 100
11 2 4 5 0026.0 48240 18740 Accepted 100
12 2 4 5 0022.5 47552 18364 Accepted 100
13 2 4 5 0028.3 48240 18772 Accepted 100
14 2 4 5 0023.6 47660 18496 Accepted 100
15 2 4 5 0025.4 48336 18240 Accepted 100
16 2 4 5 0024.0 48092 18964 Accepted 100
17 2 4 5 0028.2 48212 18804 Accepted 100
18 2 4 5 0025.0 48136 18620 Accepted 100
19 2 4 5 0027.4 48428 18720 Accepted 100
20 2 4 5 0028.6 48380 18788 Accepted 100
21 2 4 5 0027.7 48244 18728 Accepted 100
22 2 4 5 0021.4 47240 17996 Accepted 100
23 2 4 5 0028.6 48348 18928 Accepted 100
24 2 4 5 0026.3 48212 18520 Accepted 100
25 2 4 5 0026.4 48388 18528 Accepted 100
26 3 5 0599.2 96252 78848 Wrong Answer 0
27 3 5 0433.2 80532 71172 Wrong Answer 0
28 3 5 0362.7 77364 66584 Wrong Answer 0
29 3 5 0418.9 77936 66284 Wrong Answer 0
30 3 5 0370.8 77052 66748 Wrong Answer 0
31 3 5 0400.2 105796 94868 Accepted 100
32 3 5 0388.5 99104 88292 Accepted 100
33 3 5 0344.1 119432 70364 Accepted 100
34 3 5 0540.7 91660 75648 Wrong Answer 0
35 3 5 0599.9 95524 78244 Wrong Answer 0
36 3 5 0583.5 95412 78644 Wrong Answer 0
37 3 5 0333.0 79392 68616 Wrong Answer 0
38 3 5 0354.0 80976 70140 Wrong Answer 0
39 3 5 0299.1 86576 52100 Accepted 100
40 3 5 0738.1 125688 89728 Wrong Answer 0
41 3 5 0530.6 122756 80456 Accepted 100
42 3 5 0489.3 89360 74980 Wrong Answer 0
43 3 5 0286.6 74756 64364 Wrong Answer 0
44 3 5 0401.6 77776 67700 Wrong Answer 0
45 3 5 0366.9 80060 69728 Wrong Answer 0
46 3 5 0293.1 96368 60284 Accepted 100
47 3 5 0371.0 78036 65624 Wrong Answer 0
48 3 5 0417.7 82376 67452 Wrong Answer 0
49 3 5 0635.6 146404 96404 Accepted 100
50 3 5 0459.7 83964 68884 Wrong Answer 0
51 4 5 0178.6 61884 47932 Accepted 100
52 4 5 0297.8 73572 46736 Accepted 100
53 4 5 0273.5 76656 47572 Accepted 100
54 4 5 0196.9 74328 41036 Accepted 100
55 4 5 0211.7 75280 40644 Accepted 100
56 4 5 0306.3 72224 45324 Accepted 100
57 4 5 0172.8 61788 47480 Accepted 100
58 4 5 0272.2 67088 43728 Accepted 100
59 4 5 0217.9 64136 47692 Accepted 100
60 4 5 0196.2 75464 40884 Accepted 100
61 4 5 0143.4 72544 38708 Accepted 100
62 4 5 0225.0 67140 46844 Accepted 100
63 4 5 0173.3 61648 47704 Accepted 100
64 4 5 0138.3 64444 33484 Accepted 100
65 4 5 0146.7 65768 35744 Accepted 100
66 4 5 0223.5 73540 59520 Accepted 100
67 4 5 0125.1 62392 30108 Accepted 100
68 4 5 0206.9 65732 45796 Accepted 100
69 4 5 0167.9 69356 35156 Accepted 100
70 4 5 0251.1 81644 67656 Accepted 100
71 4 5 0175.5 69920 37492 Accepted 100
72 4 5 0251.3 81516 48060 Accepted 100
73 4 5 0157.5 61912 47640 Accepted 100
74 4 5 0184.3 72196 38460 Accepted 100
75 4 5 0174.6 71388 36368 Accepted 100
76 4 5 0138.5 61224 41356 Accepted 100
77 4 5 0170.7 65012 36868 Accepted 100
78 5 0474.9 85820 71540 Wrong Answer 0
79 5 0424.3 78432 68420 Wrong Answer 0
80 5 0708.9 142748 92456 Accepted 100
81 5 0571.5 133272 84940 Accepted 100
82 5 0307.9 74044 62696 Accepted 100
83 5 0932.3 118052 87628 Wrong Answer 0
84 5 0569.8 89652 68308 Wrong Answer 0
85 5 0552.8 111624 75140 Accepted 100
86 5 0665.6 151484 100784 Accepted 100
87 5 0382.5 131288 80972 Accepted 100
88 5 0528.5 132632 84948 Accepted 100
89 5 0476.2 85376 71220 Wrong Answer 0
90 5 0613.5 88840 72788 Wrong Answer 0
91 5 0657.5 151424 95292 Wrong Answer 0
92 5 0547.0 129080 81108 Accepted 100
93 5 0402.6 100564 89876 Accepted 100
94 5 0425.9 110816 99884 Accepted 100
95 5 0724.2 96640 68200 Accepted 100
96 5 0596.8 96316 61284 Accepted 100
97 5 0393.4 130264 81020 Accepted 100
98 5 0396.0 84148 69992 Wrong Answer 0
99 5 0373.3 85244 70368 Wrong Answer 0
100 5 0438.2 98528 64264 Wrong Answer 0
101 5 0497.7 85872 71884 Wrong Answer 0
102 5 0490.6 86744 72508 Wrong Answer 0
103 5 0682.6 142540 93288 Accepted 100
104 5 0750.6 119364 86204 Wrong Answer 0
105 5 0490.6 128292 80768 Accepted 100
106 5 0475.4 88088 66804 Wrong Answer 0
107 5 0337.1 93472 58248 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
5.96 KB
Back to Top