Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

27657
51720
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 0010.8 17376 10608 Accepted 100
1 1 5 0010.6 17376 10716 Accepted 100
2 2 4 5 0011.0 17376 10716 Accepted 100
3 2 4 5 0010.8 17376 10656 Accepted 100
4 2 4 5 0016.3 18000 11292 Accepted 100
5 2 4 5 0015.3 17748 10936 Accepted 100
6 2 4 5 0016.4 17868 11220 Accepted 100
7 2 4 5 0014.2 17748 10948 Accepted 100
8 2 4 5 0016.4 18004 11336 Accepted 100
9 2 4 5 0014.5 17748 10968 Accepted 100
10 2 4 5 0015.3 17748 11028 Accepted 100
11 2 4 5 0015.1 17868 11172 Accepted 100
12 2 4 5 0012.4 17644 11024 Accepted 100
13 2 4 5 0015.9 18004 11340 Accepted 100
14 2 4 5 0013.0 17776 11216 Accepted 100
15 2 4 5 0013.4 17748 10856 Accepted 100
16 2 4 5 0013.1 17788 11320 Accepted 100
17 2 4 5 0016.1 18004 11296 Accepted 100
18 2 4 5 0014.4 18032 11048 Accepted 100
19 2 4 5 0015.1 18028 11332 Accepted 100
20 2 4 5 0016.3 17872 11332 Accepted 100
21 2 4 5 0015.2 17868 11260 Accepted 100
22 2 4 5 0011.0 17376 10848 Accepted 100
23 2 4 5 0016.0 17868 11152 Accepted 100
24 2 4 5 0014.6 17868 11176 Accepted 100
25 2 4 5 0014.6 17748 11032 Accepted 100
26 3 5 0676.9 49448 40736 Accepted 100
27 3 5 0514.3 48060 44036 Accepted 100
28 3 5 0323.8 45348 41124 Accepted 100
29 3 5 0409.1 42956 36768 Accepted 100
30 3 5 0320.4 45336 41124 Accepted 100
31 3 5 0262.7 54956 50648 Accepted 100
32 3 5 0256.9 53260 48796 Accepted 100
33 3 5 0219.8 42116 26636 Accepted 100
34 3 5 0642.7 49144 40280 Accepted 100
35 3 5 0661.3 49756 40776 Accepted 100
36 3 5 0683.1 49456 40736 Accepted 100
37 3 5 0280.3 45608 41124 Accepted 100
38 3 5 0322.4 46000 41660 Accepted 100
39 3 5 0203.6 27424 17484 Accepted 100
40 3 5 0476.1 39628 27364 Accepted 100
41 3 5 0336.8 36764 23416 Accepted 100
42 3 5 0675.4 53784 46012 Accepted 100
43 3 5 0218.6 44700 40256 Accepted 100
44 3 5 0394.3 47360 42988 Accepted 100
45 3 5 0335.1 46136 41920 Accepted 100
46 3 5 0177.2 29840 21296 Accepted 100
47 3 5 0332.1 42548 36600 Accepted 100
48 3 5 0404.8 47520 39028 Accepted 100
49 3 5 0393.0 37780 24720 Accepted 100
50 3 5 0452.7 48732 39676 Accepted 100
51 4 5 0120.4 33436 28232 Accepted 100
52 4 5 0192.7 26944 19520 Accepted 100
53 4 5 0167.3 27216 19720 Accepted 100
54 4 5 0116.7 22300 14340 Accepted 100
55 4 5 0135.7 22668 14668 Accepted 100
56 4 5 0198.6 26936 20288 Accepted 100
57 4 5 0128.0 33500 28208 Accepted 100
58 4 5 0148.1 28668 21844 Accepted 100
59 4 5 0151.2 33468 28192 Accepted 100
60 4 5 0109.6 23000 14728 Accepted 100
61 4 5 0096.6 23692 15024 Accepted 100
62 4 5 0152.6 32068 26368 Accepted 100
63 4 5 0122.5 33440 28212 Accepted 100
64 4 5 0087.6 24084 15576 Accepted 100
65 4 5 0107.9 25668 17076 Accepted 100
66 4 5 0138.5 38188 32884 Accepted 100
67 4 5 0084.7 22176 14100 Accepted 100
68 4 5 0126.9 32128 26328 Accepted 100
69 4 5 0103.5 22148 13972 Accepted 100
70 4 5 0160.5 41444 36416 Accepted 100
71 4 5 0114.7 24320 16176 Accepted 100
72 4 5 0188.3 23876 15784 Accepted 100
73 4 5 0117.9 33856 28436 Accepted 100
74 4 5 0116.3 22460 14260 Accepted 100
75 4 5 0096.9 22376 13548 Accepted 100
76 4 5 0101.7 30788 25040 Accepted 100
77 4 5 0119.5 24972 17272 Accepted 100
78 5 0773.9 53888 46272 Accepted 100
79 5 0494.3 46780 42768 Accepted 100
80 5 0439.2 36276 23164 Accepted 100
81 5 0331.0 35876 22996 Accepted 100
82 5 0214.3 42916 38220 Accepted 100
83 5 0739.3 41036 31604 Accepted 100
84 5 0563.9 39760 32904 Accepted 100
85 5 0389.1 30396 21836 Accepted 100
86 5 0428.2 37624 23860 Accepted 100
87 5 0260.8 42132 26684 Accepted 100
88 5 0258.3 35980 23116 Accepted 100
89 5 0551.1 50720 41400 Accepted 100
90 5 0828.2 49684 41088 Accepted 100
91 5 0362.9 42440 27032 Accepted 100
92 5 0322.6 35872 23000 Accepted 100
93 5 0248.0 53624 49276 Accepted 100
94 5 0258.0 56240 51720 Accepted 100
95 5 0416.4 44288 35536 Accepted 100
96 5 0374.2 41984 28636 Accepted 100
97 5 0259.8 42136 26644 Accepted 100
98 5 0741.1 54128 46616 Accepted 100
99 5 0511.8 52856 45532 Accepted 100
100 5 0296.7 43816 28592 Accepted 100
101 5 0842.4 53836 46316 Accepted 100
102 5 0847.4 53548 45956 Accepted 100
103 5 0463.1 35960 23120 Accepted 100
104 5 0566.3 39460 30284 Accepted 100
105 5 0377.4 43508 28044 Accepted 100
106 5 0389.0 45728 36732 Accepted 100
107 5 0262.6 30380 20908 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
5.13 KB
Back to Top