Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

41639
123740
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 0036.4 88256 31732 Accepted 100
1 1 5 0035.1 88256 31680 Accepted 100
2 2 4 5 0037.0 88256 31756 Accepted 100
3 2 4 5 0036.7 88256 31760 Accepted 100
4 2 4 5 0043.8 89304 33012 Accepted 100
5 2 4 5 0043.3 89636 32636 Accepted 100
6 2 4 5 0043.7 89300 32976 Accepted 100
7 2 4 5 0042.2 89516 32360 Accepted 100
8 2 4 5 0043.8 89328 32912 Accepted 100
9 2 4 5 0043.3 89348 32668 Accepted 100
10 2 4 5 0043.7 89276 32624 Accepted 100
11 2 4 5 0042.3 89224 32824 Accepted 100
12 2 4 5 0039.3 88548 32348 Accepted 100
13 2 4 5 0043.8 89160 33004 Accepted 100
14 2 4 5 0039.9 88612 32576 Accepted 100
15 2 4 5 0041.1 89344 32228 Accepted 100
16 2 4 5 0040.2 88852 32888 Accepted 100
17 2 4 5 0043.9 89280 32828 Accepted 100
18 2 4 5 0042.1 89116 32696 Accepted 100
19 2 4 5 0043.0 89392 32728 Accepted 100
20 2 4 5 0043.0 89316 32880 Accepted 100
21 2 4 5 0042.5 89220 32688 Accepted 100
22 2 4 5 0037.4 88256 31984 Accepted 100
23 2 4 5 0044.4 89296 32936 Accepted 100
24 2 4 5 0041.9 89164 32656 Accepted 100
25 2 4 5 0042.5 89404 32524 Accepted 100
26 3 5 0924.3 165440 119148 Accepted 100
27 3 5 0685.7 138072 101368 Accepted 100
28 3 5 0411.3 114616 81840 Accepted 100
29 3 5 0559.4 130668 90668 Accepted 100
30 3 5 0409.2 114100 81700 Accepted 100
31 3 5 0381.8 135328 98920 Accepted 100
32 3 5 0361.9 131004 94332 Accepted 100
33 3 5 0348.3 160504 84496 Accepted 100
34 3 5 0888.8 166784 119052 Accepted 100
35 3 5 0917.7 161676 115336 Accepted 100
36 3 5 0955.1 167736 120396 Accepted 100
37 3 5 0391.9 117132 83096 Accepted 100
38 3 5 0427.1 121064 87132 Accepted 100
39 3 5 0323.9 129100 67816 Accepted 100
40 3 5 0811.3 172448 111040 Accepted 100
41 3 5 0554.5 164872 95888 Accepted 100
42 3 5 0915.0 166448 121728 Accepted 100
43 3 5 0283.4 109028 76676 Accepted 100
44 3 5 0527.0 126252 90004 Accepted 100
45 3 5 0447.5 119560 85912 Accepted 100
46 3 5 0307.0 137608 74468 Accepted 100
47 3 5 0479.3 127480 86440 Accepted 100
48 3 5 0618.7 133364 92172 Accepted 100
49 3 5 0667.8 188496 111788 Accepted 100
50 3 5 0661.2 137728 94460 Accepted 100
51 4 5 0177.6 98660 58668 Accepted 100
52 4 5 0304.0 114588 61380 Accepted 100
53 4 5 0275.0 117672 61692 Accepted 100
54 4 5 0216.4 115364 55076 Accepted 100
55 4 5 0229.1 116240 54852 Accepted 100
56 4 5 0306.3 112216 58940 Accepted 100
57 4 5 0180.2 98636 58592 Accepted 100
58 4 5 0270.0 107084 57260 Accepted 100
59 4 5 0220.3 104340 60828 Accepted 100
60 4 5 0216.1 116392 55080 Accepted 100
61 4 5 0160.0 113624 52664 Accepted 100
62 4 5 0234.7 104060 59180 Accepted 100
63 4 5 0180.6 98636 58496 Accepted 100
64 4 5 0153.8 105328 47256 Accepted 100
65 4 5 0161.8 106272 49400 Accepted 100
66 4 5 0228.3 109920 68584 Accepted 100
67 4 5 0141.9 103304 44376 Accepted 100
68 4 5 0206.6 102652 57992 Accepted 100
69 4 5 0180.6 110320 49312 Accepted 100
70 4 5 0254.8 115504 74048 Accepted 100
71 4 5 0193.2 110808 51548 Accepted 100
72 4 5 0267.3 122264 62052 Accepted 100
73 4 5 0173.1 98772 58840 Accepted 100
74 4 5 0201.2 112960 52308 Accepted 100
75 4 5 0192.0 112404 50520 Accepted 100
76 4 5 0153.5 98144 53116 Accepted 100
77 4 5 0184.4 105528 50676 Accepted 100
78 5 1009.2 166196 121620 Accepted 100
79 5 0619.9 130272 93320 Accepted 100
80 5 0739.5 184492 107636 Accepted 100
81 5 0585.6 174156 99152 Accepted 100
82 5 0295.8 106952 72732 Accepted 100
83 5 1107.9 172540 115152 Accepted 100
84 5 0838.5 152064 101260 Accepted 100
85 5 0577.0 152912 89636 Accepted 100
86 5 0683.3 193556 116280 Accepted 100
87 5 0394.9 172324 95152 Accepted 100
88 5 0531.5 173464 98868 Accepted 100
89 5 0779.4 154420 108064 Accepted 100
90 5 1114.8 168404 119532 Accepted 100
91 5 0670.1 193144 110060 Accepted 100
92 5 0564.4 169560 95040 Accepted 100
93 5 0369.7 131944 95388 Accepted 100
94 5 0381.6 138584 102368 Accepted 100
95 5 0873.8 136832 87180 Accepted 100
96 5 0658.6 145128 80600 Accepted 100
97 5 0407.6 171392 95012 Accepted 100
98 5 1028.0 170552 123740 Accepted 100
99 5 0751.1 150232 108012 Accepted 100
100 5 0472.0 159512 86880 Accepted 100
101 5 1054.7 162652 118736 Accepted 100
102 5 1041.6 165792 120936 Accepted 100
103 5 0682.3 184276 108144 Accepted 100
104 5 0875.5 168112 110460 Accepted 100
105 5 0508.7 170444 96368 Accepted 100
106 5 0670.4 142412 91064 Accepted 100
107 5 0353.8 135472 73312 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
5.99 KB
Back to Top