Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

14028
58488
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.4 40208 19276 Accepted 100
1 1 5 0022.4 40208 19416 Accepted 100
2 2 4 5 0022.0 40208 19276 Accepted 100
3 2 4 5 0022.2 40208 19232 Accepted 100
4 2 4 5 0024.7 40472 20108 Accepted 100
5 2 4 5 0022.8 40208 19548 Accepted 100
6 2 4 5 0024.3 40472 19756 Accepted 100
7 2 4 5 0022.8 40208 19376 Accepted 100
8 2 4 5 0024.7 40472 20004 Accepted 100
9 2 4 5 0023.9 40340 19424 Accepted 100
10 2 4 5 0024.4 40340 19544 Accepted 100
11 2 4 5 0024.4 40472 19936 Accepted 100
12 2 4 5 0023.5 40472 19784 Accepted 100
13 2 4 5 0024.0 40472 19848 Accepted 100
14 2 4 5 0024.0 40472 19980 Accepted 100
15 2 4 5 0023.2 40208 19328 Accepted 100
16 2 4 5 0023.9 40472 20104 Accepted 100
17 2 4 5 0025.0 40472 20092 Accepted 100
18 2 4 5 0024.0 40604 19852 Accepted 100
19 2 4 5 0024.3 40604 20072 Accepted 100
20 2 4 5 0025.3 40472 19836 Accepted 100
21 2 4 5 0026.6 40604 19864 Accepted 100
22 2 4 5 0022.8 40340 19376 Accepted 100
23 2 4 5 0024.7 40472 19856 Accepted 100
24 2 4 5 0023.8 40472 19664 Accepted 100
25 2 4 5 0023.6 40340 19504 Accepted 100
26 3 5 0267.7 55388 49176 Accepted 100
27 3 5 0273.0 59084 55084 Accepted 100
28 3 5 0239.4 59084 54328 Accepted 100
29 3 5 0221.7 55256 48016 Accepted 100
30 3 5 0242.6 59084 54348 Accepted 100
31 3 5 0264.1 62872 57956 Accepted 100
32 3 5 0255.3 62036 57048 Accepted 100
33 3 5 0100.0 40340 23072 Accepted 100
34 3 5 0265.0 55388 49304 Accepted 100
35 3 5 0264.4 55520 49308 Accepted 100
36 3 5 0264.6 55388 49256 Accepted 100
37 3 5 0212.4 60932 56488 Accepted 100
38 3 5 0223.2 60800 56448 Accepted 100
39 3 5 0073.8 41264 22808 Accepted 100
40 3 5 0144.1 44564 30356 Accepted 100
41 3 5 0109.1 41000 24224 Accepted 100
42 3 5 0298.4 59348 55956 Accepted 100
43 3 5 0195.3 60728 55700 Accepted 100
44 3 5 0264.4 58952 54432 Accepted 100
45 3 5 0225.9 60800 56448 Accepted 100
46 3 5 0084.4 40340 22420 Accepted 100
47 3 5 0197.8 56048 48512 Accepted 100
48 3 5 0233.9 56020 49244 Accepted 100
49 3 5 0118.7 41792 25352 Accepted 100
50 3 5 0258.1 56020 49652 Accepted 100
51 4 5 0131.8 52748 42388 Accepted 100
52 4 5 0084.4 44300 27900 Accepted 100
53 4 5 0079.3 44432 27992 Accepted 100
54 4 5 0048.8 40340 20632 Accepted 100
55 4 5 0050.7 40472 21028 Accepted 100
56 4 5 0092.3 44960 28752 Accepted 100
57 4 5 0131.5 52748 42244 Accepted 100
58 4 5 0096.3 47204 32156 Accepted 100
59 4 5 0131.7 51560 40264 Accepted 100
60 4 5 0048.6 40340 20844 Accepted 100
61 4 5 0050.9 40340 20820 Accepted 100
62 4 5 0115.0 51164 39116 Accepted 100
63 4 5 0131.9 52748 42552 Accepted 100
64 4 5 0057.4 40736 21508 Accepted 100
65 4 5 0064.8 42224 23364 Accepted 100
66 4 5 0159.3 54116 43904 Accepted 100
67 4 5 0047.9 40340 20732 Accepted 100
68 4 5 0119.2 51372 39148 Accepted 100
69 4 5 0048.9 40208 20728 Accepted 100
70 4 5 0169.4 55128 44896 Accepted 100
71 4 5 0057.9 41660 23024 Accepted 100
72 4 5 0056.5 41528 22832 Accepted 100
73 4 5 0119.3 53672 43452 Accepted 100
74 4 5 0047.7 40340 20636 Accepted 100
75 4 5 0044.0 40340 20612 Accepted 100
76 4 5 0100.5 51164 38604 Accepted 100
77 4 5 0066.5 42980 25104 Accepted 100
78 5 0330.1 59084 55800 Accepted 100
79 5 0277.4 59084 54700 Accepted 100
80 5 0116.5 40868 23800 Accepted 100
81 5 0103.7 40340 23020 Accepted 100
82 5 0208.7 58688 53356 Accepted 100
83 5 0207.1 47864 36228 Accepted 100
84 5 0198.1 50108 39600 Accepted 100
85 5 0102.8 40868 23448 Accepted 100
86 5 0118.6 41000 24104 Accepted 100
87 5 0107.5 40340 23044 Accepted 100
88 5 0101.8 40340 22972 Accepted 100
89 5 0252.6 56972 51124 Accepted 100
90 5 0302.3 55256 49168 Accepted 100
91 5 0105.8 40604 23624 Accepted 100
92 5 0099.5 40340 22932 Accepted 100
93 5 0260.0 62216 57320 Accepted 100
94 5 0280.8 63492 58488 Accepted 100
95 5 0214.1 50868 39492 Accepted 100
96 5 0175.3 45044 31256 Accepted 100
97 5 0108.4 40340 23012 Accepted 100
98 5 0294.9 61328 58032 Accepted 100
99 5 0269.7 61112 57804 Accepted 100
100 5 0138.0 41936 25544 Accepted 100
101 5 0333.4 59084 55848 Accepted 100
102 5 0329.1 58952 55648 Accepted 100
103 5 0114.0 40736 23724 Accepted 100
104 5 0170.7 47468 35148 Accepted 100
105 5 0132.7 41660 25208 Accepted 100
106 5 0203.6 54968 46420 Accepted 100
107 5 0101.3 40868 23196 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.74 KB
Back to Top