Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

27796
52924
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 0011.1 19724 10580 Accepted 100
1 1 5 0010.8 19724 10616 Accepted 100
2 2 4 5 0011.0 19724 10724 Accepted 100
3 2 4 5 0010.8 19724 10728 Accepted 100
4 2 4 5 0016.5 20348 11364 Accepted 100
5 2 4 5 0015.3 20096 11004 Accepted 100
6 2 4 5 0016.5 20216 11160 Accepted 100
7 2 4 5 0014.3 20096 10960 Accepted 100
8 2 4 5 0016.5 20352 11216 Accepted 100
9 2 4 5 0014.6 20096 10992 Accepted 100
10 2 4 5 0015.4 20096 11084 Accepted 100
11 2 4 5 0015.4 20216 11336 Accepted 100
12 2 4 5 0012.8 19992 10948 Accepted 100
13 2 4 5 0016.5 20352 11432 Accepted 100
14 2 4 5 0013.1 20124 11200 Accepted 100
15 2 4 5 0013.4 20096 10864 Accepted 100
16 2 4 5 0013.1 20136 11408 Accepted 100
17 2 4 5 0015.8 20352 11380 Accepted 100
18 2 4 5 0014.6 20380 11044 Accepted 100
19 2 4 5 0015.2 20376 11340 Accepted 100
20 2 4 5 0016.7 20220 11352 Accepted 100
21 2 4 5 0015.4 20216 11348 Accepted 100
22 2 4 5 0010.8 19724 10792 Accepted 100
23 2 4 5 0015.7 20216 11160 Accepted 100
24 2 4 5 0014.8 20216 11188 Accepted 100
25 2 4 5 0014.7 20096 10976 Accepted 100
26 3 5 0704.5 51796 41876 Accepted 100
27 3 5 0552.5 50408 45012 Accepted 100
28 3 5 0319.1 47696 42268 Accepted 100
29 3 5 0410.4 45304 37712 Accepted 100
30 3 5 0323.6 47684 42260 Accepted 100
31 3 5 0260.8 57308 51816 Accepted 100
32 3 5 0254.8 55604 50096 Accepted 100
33 3 5 0220.9 44464 26796 Accepted 100
34 3 5 0652.9 51492 41420 Accepted 100
35 3 5 0662.9 52104 41848 Accepted 100
36 3 5 0682.9 51804 41964 Accepted 100
37 3 5 0287.0 47956 42280 Accepted 100
38 3 5 0322.9 48348 42704 Accepted 100
39 3 5 0200.3 29772 17836 Accepted 100
40 3 5 0465.2 41976 27696 Accepted 100
41 3 5 0334.7 39112 23856 Accepted 100
42 3 5 0681.5 56132 47340 Accepted 100
43 3 5 0225.6 47048 41648 Accepted 100
44 3 5 0408.7 49708 44216 Accepted 100
45 3 5 0341.8 48484 43052 Accepted 100
46 3 5 0179.2 32188 21308 Accepted 100
47 3 5 0323.9 44896 37416 Accepted 100
48 3 5 0395.6 49868 39844 Accepted 100
49 3 5 0388.6 40128 25108 Accepted 100
50 3 5 0469.9 51080 40884 Accepted 100
51 4 5 0121.3 35784 29084 Accepted 100
52 4 5 0196.6 29292 19844 Accepted 100
53 4 5 0162.2 29564 19960 Accepted 100
54 4 5 0117.2 24648 14468 Accepted 100
55 4 5 0136.1 25016 14724 Accepted 100
56 4 5 0192.5 29284 20504 Accepted 100
57 4 5 0124.1 35848 29044 Accepted 100
58 4 5 0143.1 31016 22396 Accepted 100
59 4 5 0149.3 35816 28776 Accepted 100
60 4 5 0109.3 25348 14752 Accepted 100
61 4 5 0096.1 26040 15260 Accepted 100
62 4 5 0149.2 34416 26988 Accepted 100
63 4 5 0122.9 35788 28952 Accepted 100
64 4 5 0089.8 26432 15636 Accepted 100
65 4 5 0108.6 28016 17464 Accepted 100
66 4 5 0143.8 40540 33884 Accepted 100
67 4 5 0086.1 24524 14156 Accepted 100
68 4 5 0136.9 34476 26924 Accepted 100
69 4 5 0102.5 24496 14172 Accepted 100
70 4 5 0159.9 43792 37216 Accepted 100
71 4 5 0113.1 26668 16348 Accepted 100
72 4 5 0188.5 26224 16080 Accepted 100
73 4 5 0118.6 36204 29212 Accepted 100
74 4 5 0117.7 24808 14376 Accepted 100
75 4 5 0098.2 24724 13628 Accepted 100
76 4 5 0102.1 33136 25600 Accepted 100
77 4 5 0118.4 27320 17480 Accepted 100
78 5 0758.3 56236 47756 Accepted 100
79 5 0489.5 49128 43752 Accepted 100
80 5 0433.3 38624 23256 Accepted 100
81 5 0331.9 38224 23076 Accepted 100
82 5 0217.9 45264 39668 Accepted 100
83 5 0737.5 43384 32036 Accepted 100
84 5 0556.7 42108 33568 Accepted 100
85 5 0392.7 32744 21944 Accepted 100
86 5 0426.8 39972 24132 Accepted 100
87 5 0263.6 44480 26716 Accepted 100
88 5 0258.2 38328 23224 Accepted 100
89 5 0540.5 53068 42344 Accepted 100
90 5 0841.4 52032 42056 Accepted 100
91 5 0361.2 44788 26988 Accepted 100
92 5 0325.0 38220 23152 Accepted 100
93 5 0260.9 55972 50284 Accepted 100
94 5 0263.7 58584 52924 Accepted 100
95 5 0423.1 46636 36164 Accepted 100
96 5 0378.4 44336 29016 Accepted 100
97 5 0264.1 44484 26764 Accepted 100
98 5 0764.4 56476 47752 Accepted 100
99 5 0531.4 55204 46964 Accepted 100
100 5 0305.1 46164 28604 Accepted 100
101 5 0863.2 56184 47404 Accepted 100
102 5 0862.1 55896 47540 Accepted 100
103 5 0454.6 38308 23204 Accepted 100
104 5 0522.1 41808 30872 Accepted 100
105 5 0369.2 45856 28244 Accepted 100
106 5 0383.7 48076 37568 Accepted 100
107 5 0270.4 32728 21044 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
6.61 KB
Back to Top