Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

23068
71220
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 0018.3 31272 15364 Accepted 100
1 1 5 0018.2 31272 15328 Accepted 100
2 2 4 5 0017.8 31272 15168 Accepted 100
3 2 4 5 0018.0 31272 15308 Accepted 100
4 2 4 5 0022.4 31820 16156 Accepted 100
5 2 4 5 0022.8 31704 15844 Accepted 100
6 2 4 5 0022.9 31828 16048 Accepted 100
7 2 4 5 0021.3 31680 15740 Accepted 100
8 2 4 5 0023.3 31800 16044 Accepted 100
9 2 4 5 0020.6 31668 15860 Accepted 100
10 2 4 5 0022.0 31676 16060 Accepted 100
11 2 4 5 0020.8 31668 15936 Accepted 100
12 2 4 5 0019.4 31404 15680 Accepted 100
13 2 4 5 0022.1 31804 16216 Accepted 100
14 2 4 5 0019.5 31404 15796 Accepted 100
15 2 4 5 0020.6 31672 15704 Accepted 100
16 2 4 5 0019.9 31772 16244 Accepted 100
17 2 4 5 0022.3 31668 16064 Accepted 100
18 2 4 5 0020.5 31708 16020 Accepted 100
19 2 4 5 0020.8 31804 16004 Accepted 100
20 2 4 5 0022.8 31800 16148 Accepted 100
21 2 4 5 0021.8 31804 16048 Accepted 100
22 2 4 5 0018.5 31272 15416 Accepted 100
23 2 4 5 0022.1 31804 16028 Accepted 100
24 2 4 5 0020.9 31676 15980 Accepted 100
25 2 4 5 0020.2 31668 15804 Accepted 100
26 3 5 0543.9 67796 57064 Accepted 100
27 3 5 0429.0 55444 50236 Accepted 100
28 3 5 0287.5 47232 42068 Accepted 100
29 3 5 0341.4 51668 44620 Accepted 100
30 3 5 0286.1 47160 42080 Accepted 100
31 3 5 0334.0 76452 71220 Accepted 100
32 3 5 0312.0 65120 59968 Accepted 100
33 3 5 0271.9 64184 43472 Accepted 100
34 3 5 0494.4 69552 57708 Accepted 100
35 3 5 0527.7 68588 57304 Accepted 100
36 3 5 0540.5 67424 56564 Accepted 100
37 3 5 0229.2 47528 42172 Accepted 100
38 3 5 0245.9 49752 44416 Accepted 100
39 3 5 0182.0 53704 34992 Accepted 100
40 3 5 0423.5 75112 54640 Accepted 100
41 3 5 0319.2 70444 49268 Accepted 100
42 3 5 0542.0 66336 57804 Accepted 100
43 3 5 0201.8 45912 40884 Accepted 100
44 3 5 0348.0 50896 45344 Accepted 100
45 3 5 0266.6 49676 44356 Accepted 100
46 3 5 0221.7 57728 39964 Accepted 100
47 3 5 0261.5 49680 42568 Accepted 100
48 3 5 0316.9 54688 45984 Accepted 100
49 3 5 0349.7 72644 51172 Accepted 100
50 3 5 0363.2 59308 49128 Accepted 100
51 4 5 0124.3 37904 30348 Accepted 100
52 4 5 0154.9 43624 29560 Accepted 100
53 4 5 0139.5 42956 28996 Accepted 100
54 4 5 0116.7 43572 26356 Accepted 100
55 4 5 0126.2 43596 26624 Accepted 100
56 4 5 0163.7 43008 29336 Accepted 100
57 4 5 0121.1 37944 30160 Accepted 100
58 4 5 0106.6 40052 27700 Accepted 100
59 4 5 0139.4 39020 30432 Accepted 100
60 4 5 0099.6 42308 25312 Accepted 100
61 4 5 0098.6 41676 25160 Accepted 100
62 4 5 0116.7 40180 30156 Accepted 100
63 4 5 0129.1 37816 30084 Accepted 100
64 4 5 0069.7 39972 23832 Accepted 100
65 4 5 0068.3 40804 24784 Accepted 100
66 4 5 0178.3 52804 45276 Accepted 100
67 4 5 0086.8 38916 22460 Accepted 100
68 4 5 0107.6 39624 29640 Accepted 100
69 4 5 0105.0 40060 23564 Accepted 100
70 4 5 0189.6 54920 47320 Accepted 100
71 4 5 0079.9 40876 25040 Accepted 100
72 4 5 0142.0 45544 29300 Accepted 100
73 4 5 0110.7 38472 30688 Accepted 100
74 4 5 0112.7 42280 25560 Accepted 100
75 4 5 0099.7 40156 23764 Accepted 100
76 4 5 0095.3 37728 27828 Accepted 100
77 4 5 0076.1 38408 24148 Accepted 100
78 5 0610.9 67636 58336 Accepted 100
79 5 0394.8 52612 46796 Accepted 100
80 5 0413.6 68876 47260 Accepted 100
81 5 0321.3 64232 44376 Accepted 100
82 5 0216.7 42684 37560 Accepted 100
83 5 0538.4 71460 54960 Accepted 100
84 5 0434.7 60444 48360 Accepted 100
85 5 0332.5 61488 42612 Accepted 100
86 5 0345.2 71556 49104 Accepted 100
87 5 0270.9 64484 43044 Accepted 100
88 5 0198.7 56720 36832 Accepted 100
89 5 0355.7 62416 51636 Accepted 100
90 5 0616.6 68776 57352 Accepted 100
91 5 0252.9 69536 45140 Accepted 100
92 5 0310.0 65800 43308 Accepted 100
93 5 0312.8 69472 64496 Accepted 100
94 5 0332.6 74672 69360 Accepted 100
95 5 0288.2 57764 44080 Accepted 100
96 5 0336.6 63120 43584 Accepted 100
97 5 0258.5 62228 41484 Accepted 100
98 5 0457.6 66164 58096 Accepted 100
99 5 0355.2 62644 53116 Accepted 100
100 5 0200.1 65296 41868 Accepted 100
101 5 0591.4 66628 57884 Accepted 100
102 5 0582.8 67816 58656 Accepted 100
103 5 0375.1 72716 50064 Accepted 100
104 5 0427.4 68960 51740 Accepted 100
105 5 0196.7 64900 41888 Accepted 100
106 5 0256.4 52860 41604 Accepted 100
107 5 0147.0 50228 32744 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
4.52 KB
Back to Top