Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

27772
51684
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 17376 10716 Accepted 100
1 1 5 0010.9 17376 10716 Accepted 100
2 2 4 5 0010.3 17376 10672 Accepted 100
3 2 4 5 0010.7 17376 10596 Accepted 100
4 2 4 5 0016.5 18000 11304 Accepted 100
5 2 4 5 0015.1 17748 10924 Accepted 100
6 2 4 5 0016.5 17868 11104 Accepted 100
7 2 4 5 0014.3 17748 10948 Accepted 100
8 2 4 5 0016.5 18004 11284 Accepted 100
9 2 4 5 0014.8 17748 10964 Accepted 100
10 2 4 5 0015.4 17748 11064 Accepted 100
11 2 4 5 0015.1 17868 11336 Accepted 100
12 2 4 5 0012.7 17644 11008 Accepted 100
13 2 4 5 0016.3 18004 11292 Accepted 100
14 2 4 5 0013.2 17776 11156 Accepted 100
15 2 4 5 0013.7 17748 11000 Accepted 100
16 2 4 5 0013.4 17788 11312 Accepted 100
17 2 4 5 0016.1 18004 11348 Accepted 100
18 2 4 5 0014.5 18032 11028 Accepted 100
19 2 4 5 0015.2 18028 11336 Accepted 100
20 2 4 5 0016.7 17872 11280 Accepted 100
21 2 4 5 0015.0 17868 11320 Accepted 100
22 2 4 5 0011.4 17376 10788 Accepted 100
23 2 4 5 0015.9 17868 11152 Accepted 100
24 2 4 5 0014.9 17868 11128 Accepted 100
25 2 4 5 0014.7 17748 11032 Accepted 100
26 3 5 0705.4 49448 40732 Accepted 100
27 3 5 0538.8 48060 43988 Accepted 100
28 3 5 0331.8 45348 41156 Accepted 100
29 3 5 0412.4 42956 36768 Accepted 100
30 3 5 0337.5 45336 41136 Accepted 100
31 3 5 0260.7 54960 50592 Accepted 100
32 3 5 0244.1 53260 48716 Accepted 100
33 3 5 0222.5 42116 26524 Accepted 100
34 3 5 0646.2 49144 40316 Accepted 100
35 3 5 0657.3 49756 40828 Accepted 100
36 3 5 0687.5 49456 40820 Accepted 100
37 3 5 0281.0 45608 41148 Accepted 100
38 3 5 0315.1 46000 41656 Accepted 100
39 3 5 0203.7 27424 17484 Accepted 100
40 3 5 0473.4 39628 27300 Accepted 100
41 3 5 0338.3 36764 23500 Accepted 100
42 3 5 0686.4 53784 46052 Accepted 100
43 3 5 0216.2 44700 40328 Accepted 100
44 3 5 0400.6 47360 42896 Accepted 100
45 3 5 0335.2 46136 41880 Accepted 100
46 3 5 0180.8 29840 21236 Accepted 100
47 3 5 0333.1 42548 36536 Accepted 100
48 3 5 0406.4 47520 38996 Accepted 100
49 3 5 0392.7 37780 24716 Accepted 100
50 3 5 0460.8 48732 39612 Accepted 100
51 4 5 0123.9 33436 28232 Accepted 100
52 4 5 0192.4 26944 19468 Accepted 100
53 4 5 0172.0 27216 19632 Accepted 100
54 4 5 0117.4 22300 14392 Accepted 100
55 4 5 0135.5 22668 14720 Accepted 100
56 4 5 0198.3 26936 20304 Accepted 100
57 4 5 0122.4 33500 28120 Accepted 100
58 4 5 0151.3 28668 21732 Accepted 100
59 4 5 0149.4 33468 28132 Accepted 100
60 4 5 0111.5 23000 14728 Accepted 100
61 4 5 0096.2 23692 15128 Accepted 100
62 4 5 0148.7 32068 26328 Accepted 100
63 4 5 0127.4 33440 28180 Accepted 100
64 4 5 0088.8 24084 15568 Accepted 100
65 4 5 0108.8 25668 17132 Accepted 100
66 4 5 0145.1 38188 32984 Accepted 100
67 4 5 0085.9 22176 14100 Accepted 100
68 4 5 0130.5 32128 26360 Accepted 100
69 4 5 0104.2 22148 14004 Accepted 100
70 4 5 0159.8 41444 36252 Accepted 100
71 4 5 0114.7 24320 16172 Accepted 100
72 4 5 0192.6 23876 15748 Accepted 100
73 4 5 0117.3 33856 28816 Accepted 100
74 4 5 0118.6 22460 14428 Accepted 100
75 4 5 0099.4 22376 13584 Accepted 100
76 4 5 0101.7 30788 25012 Accepted 100
77 4 5 0120.5 24972 17416 Accepted 100
78 5 0771.4 53888 46284 Accepted 100
79 5 0510.1 46780 42592 Accepted 100
80 5 0446.3 36276 23080 Accepted 100
81 5 0335.2 35876 23032 Accepted 100
82 5 0221.2 42916 38224 Accepted 100
83 5 0744.3 41036 31492 Accepted 100
84 5 0560.6 39760 32904 Accepted 100
85 5 0395.4 30396 21792 Accepted 100
86 5 0432.4 37624 24020 Accepted 100
87 5 0265.0 42132 26636 Accepted 100
88 5 0263.8 35980 23156 Accepted 100
89 5 0535.8 50720 41296 Accepted 100
90 5 0836.6 49684 41076 Accepted 100
91 5 0360.8 42440 26904 Accepted 100
92 5 0327.1 35872 22988 Accepted 100
93 5 0248.5 53628 49320 Accepted 100
94 5 0265.3 56236 51684 Accepted 100
95 5 0399.1 44288 35540 Accepted 100
96 5 0371.3 41992 28708 Accepted 100
97 5 0262.2 42136 26564 Accepted 100
98 5 0732.3 54128 46544 Accepted 100
99 5 0515.2 52856 45624 Accepted 100
100 5 0305.0 43816 28720 Accepted 100
101 5 0839.9 53836 46364 Accepted 100
102 5 0860.7 53548 45972 Accepted 100
103 5 0461.1 35960 23184 Accepted 100
104 5 0521.3 39460 30100 Accepted 100
105 5 0372.7 43508 28204 Accepted 100
106 5 0370.0 45728 36884 Accepted 100
107 5 0267.9 30380 21016 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
5.13 KB
Back to Top