Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18544
63392
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 0022.1 40240 19980 Accepted 100
1 1 5 0022.5 40240 19988 Accepted 100
2 2 4 5 0022.4 40240 20048 Accepted 100
3 2 4 5 0022.4 40240 19992 Accepted 100
4 2 4 5 0026.5 40504 20600 Accepted 100
5 2 4 5 0025.0 40240 20044 Accepted 100
6 2 4 5 0026.4 40372 20456 Accepted 100
7 2 4 5 0025.7 40240 20084 Accepted 100
8 2 4 5 0026.6 40504 20644 Accepted 100
9 2 4 5 0024.9 40372 20204 Accepted 100
10 2 4 5 0024.9 40372 20168 Accepted 100
11 2 4 5 0025.8 40504 20536 Accepted 100
12 2 4 5 0024.0 40372 20476 Accepted 100
13 2 4 5 0025.4 40504 20656 Accepted 100
14 2 4 5 0025.0 40504 20648 Accepted 100
15 2 4 5 0023.0 40240 20076 Accepted 100
16 2 4 5 0025.1 40512 20804 Accepted 100
17 2 4 5 0026.1 40504 20660 Accepted 100
18 2 4 5 0026.2 40508 20648 Accepted 100
19 2 4 5 0026.2 40504 20632 Accepted 100
20 2 4 5 0026.3 40504 20408 Accepted 100
21 2 4 5 0026.1 40504 20696 Accepted 100
22 2 4 5 0022.5 40240 20124 Accepted 100
23 2 4 5 0026.2 40372 20388 Accepted 100
24 2 4 5 0025.3 40372 20340 Accepted 100
25 2 4 5 0024.7 40240 20180 Accepted 100
26 3 5 0363.5 55420 49900 Accepted 100
27 3 5 0354.6 59116 55728 Accepted 100
28 3 5 0291.9 58984 54948 Accepted 100
29 3 5 0278.7 55288 48660 Accepted 100
30 3 5 0293.7 58984 54964 Accepted 100
31 3 5 0326.7 66520 62264 Accepted 100
32 3 5 0313.0 64944 60752 Accepted 100
33 3 5 0153.3 40372 23696 Accepted 100
34 3 5 0348.7 55420 49776 Accepted 100
35 3 5 0350.2 55420 49956 Accepted 100
36 3 5 0351.7 55420 49888 Accepted 100
37 3 5 0261.4 60964 57016 Accepted 100
38 3 5 0274.0 60832 56956 Accepted 100
39 3 5 0107.3 41164 23540 Accepted 100
40 3 5 0215.3 44596 31008 Accepted 100
41 3 5 0168.6 41032 24904 Accepted 100
42 3 5 0401.4 59248 56696 Accepted 100
43 3 5 0245.7 60748 56584 Accepted 100
44 3 5 0327.9 58984 55188 Accepted 100
45 3 5 0293.1 60832 57132 Accepted 100
46 3 5 0127.3 40372 22824 Accepted 100
47 3 5 0248.2 55948 49192 Accepted 100
48 3 5 0303.6 56052 49944 Accepted 100
49 3 5 0182.3 41692 26112 Accepted 100
50 3 5 0352.6 55992 49876 Accepted 100
51 4 5 0160.6 52780 43128 Accepted 100
52 4 5 0115.3 44332 28436 Accepted 100
53 4 5 0102.7 44464 28452 Accepted 100
54 4 5 0070.7 40372 21168 Accepted 100
55 4 5 0074.9 40504 21688 Accepted 100
56 4 5 0118.9 44992 29476 Accepted 100
57 4 5 0155.4 52648 42932 Accepted 100
58 4 5 0119.8 47236 32776 Accepted 100
59 4 5 0160.6 51460 40940 Accepted 100
60 4 5 0071.4 40372 21472 Accepted 100
61 4 5 0070.2 40372 21164 Accepted 100
62 4 5 0140.3 51196 39600 Accepted 100
63 4 5 0161.3 52780 43092 Accepted 100
64 4 5 0080.1 40636 21924 Accepted 100
65 4 5 0085.8 42220 24000 Accepted 100
66 4 5 0196.5 55352 45880 Accepted 100
67 4 5 0073.4 40372 21500 Accepted 100
68 4 5 0139.7 51400 39672 Accepted 100
69 4 5 0069.1 40240 21240 Accepted 100
70 4 5 0203.1 57260 47836 Accepted 100
71 4 5 0078.4 41560 23500 Accepted 100
72 4 5 0079.5 41428 23436 Accepted 100
73 4 5 0148.2 53572 43924 Accepted 100
74 4 5 0072.3 40372 21456 Accepted 100
75 4 5 0061.1 40372 21200 Accepted 100
76 4 5 0121.4 51196 39208 Accepted 100
77 4 5 0090.4 42880 25768 Accepted 100
78 5 0427.8 58984 56476 Accepted 100
79 5 0347.7 58984 55172 Accepted 100
80 5 0193.0 40768 24540 Accepted 100
81 5 0178.0 40372 23740 Accepted 100
82 5 0259.1 58720 54072 Accepted 100
83 5 0292.2 47896 36880 Accepted 100
84 5 0269.1 50140 40352 Accepted 100
85 5 0170.0 40768 24000 Accepted 100
86 5 0188.7 40900 24824 Accepted 100
87 5 0164.0 40372 23624 Accepted 100
88 5 0166.1 40372 23520 Accepted 100
89 5 0321.6 57008 51612 Accepted 100
90 5 0417.3 55288 49788 Accepted 100
91 5 0172.6 40636 24268 Accepted 100
92 5 0170.9 40372 23544 Accepted 100
93 5 0319.2 65288 60960 Accepted 100
94 5 0325.6 67700 63392 Accepted 100
95 5 0279.5 50872 40296 Accepted 100
96 5 0261.9 45608 32256 Accepted 100
97 5 0170.6 40372 23816 Accepted 100
98 5 0382.0 61360 58812 Accepted 100
99 5 0343.4 61116 58268 Accepted 100
100 5 0204.5 41996 26148 Accepted 100
101 5 0431.8 59116 56340 Accepted 100
102 5 0421.1 58984 56368 Accepted 100
103 5 0196.6 40768 24424 Accepted 100
104 5 0247.9 47500 35792 Accepted 100
105 5 0198.0 41560 25840 Accepted 100
106 5 0271.1 54928 47016 Accepted 100
107 5 0150.4 40768 23684 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.58 KB
Back to Top