Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

23069
65516
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.2 31276 15368 Accepted 100
1 1 5 0018.1 31276 15328 Accepted 100
2 2 4 5 0018.5 31276 15332 Accepted 100
3 2 4 5 0018.2 31276 15368 Accepted 100
4 2 4 5 0022.8 31672 16020 Accepted 100
5 2 4 5 0021.2 31704 15924 Accepted 100
6 2 4 5 0022.6 31816 16056 Accepted 100
7 2 4 5 0021.2 31680 15820 Accepted 100
8 2 4 5 0022.9 31804 16124 Accepted 100
9 2 4 5 0021.0 31672 15856 Accepted 100
10 2 4 5 0022.0 31672 15796 Accepted 100
11 2 4 5 0021.1 31680 15932 Accepted 100
12 2 4 5 0019.5 31408 15672 Accepted 100
13 2 4 5 0022.3 31672 16064 Accepted 100
14 2 4 5 0019.8 31408 15840 Accepted 100
15 2 4 5 0020.6 31672 15692 Accepted 100
16 2 4 5 0020.7 31712 16152 Accepted 100
17 2 4 5 0022.1 31672 16044 Accepted 100
18 2 4 5 0021.0 31680 15840 Accepted 100
19 2 4 5 0021.3 31692 15980 Accepted 100
20 2 4 5 0023.1 31820 16116 Accepted 100
21 2 4 5 0022.1 31672 15936 Accepted 100
22 2 4 5 0018.5 31276 15484 Accepted 100
23 2 4 5 0022.4 31824 16056 Accepted 100
24 2 4 5 0020.8 31688 16020 Accepted 100
25 2 4 5 0020.5 31688 15864 Accepted 100
26 3 5 0548.3 66776 56024 Accepted 100
27 3 5 0426.5 53396 48916 Accepted 100
28 3 5 0286.5 45184 40732 Accepted 100
29 3 5 0340.3 50648 43508 Accepted 100
30 3 5 0291.4 45108 40596 Accepted 100
31 3 5 0317.9 69692 65516 Accepted 100
32 3 5 0303.6 59876 55796 Accepted 100
33 3 5 0284.8 64044 43308 Accepted 100
34 3 5 0520.2 68532 56716 Accepted 100
35 3 5 0524.2 67564 56128 Accepted 100
36 3 5 0541.2 66404 55624 Accepted 100
37 3 5 0250.1 45480 41296 Accepted 100
38 3 5 0269.1 47704 42980 Accepted 100
39 3 5 0185.4 53624 35048 Accepted 100
40 3 5 0414.8 74600 54368 Accepted 100
41 3 5 0320.3 70404 49296 Accepted 100
42 3 5 0553.0 64292 56496 Accepted 100
43 3 5 0212.8 43864 39536 Accepted 100
44 3 5 0345.0 48848 44288 Accepted 100
45 3 5 0281.6 47636 43376 Accepted 100
46 3 5 0222.6 57732 39932 Accepted 100
47 3 5 0279.8 48660 41500 Accepted 100
48 3 5 0323.5 53668 44808 Accepted 100
49 3 5 0357.7 72500 50880 Accepted 100
50 3 5 0370.7 58288 48084 Accepted 100
51 4 5 0123.0 36884 29564 Accepted 100
52 4 5 0151.7 43116 29260 Accepted 100
53 4 5 0138.6 42452 28844 Accepted 100
54 4 5 0111.6 43504 26428 Accepted 100
55 4 5 0119.4 43584 26464 Accepted 100
56 4 5 0157.7 42500 29176 Accepted 100
57 4 5 0120.1 36952 29272 Accepted 100
58 4 5 0112.2 39544 27544 Accepted 100
59 4 5 0138.8 37976 29604 Accepted 100
60 4 5 0094.3 42256 25308 Accepted 100
61 4 5 0098.4 41616 24776 Accepted 100
62 4 5 0125.9 39156 29560 Accepted 100
63 4 5 0130.9 36824 29384 Accepted 100
64 4 5 0070.1 39948 23592 Accepted 100
65 4 5 0069.1 40680 24960 Accepted 100
66 4 5 0185.0 49728 42356 Accepted 100
67 4 5 0084.9 38880 22428 Accepted 100
68 4 5 0112.5 38600 29116 Accepted 100
69 4 5 0098.5 40048 23600 Accepted 100
70 4 5 0189.3 51560 44196 Accepted 100
71 4 5 0084.6 40752 24888 Accepted 100
72 4 5 0133.9 45412 29376 Accepted 100
73 4 5 0121.2 37348 29796 Accepted 100
74 4 5 0106.1 42252 25576 Accepted 100
75 4 5 0094.8 40148 23652 Accepted 100
76 4 5 0103.6 36732 27300 Accepted 100
77 4 5 0077.5 38152 23828 Accepted 100
78 5 0598.0 65592 57288 Accepted 100
79 5 0382.8 50564 45780 Accepted 100
80 5 0398.5 68848 47256 Accepted 100
81 5 0303.6 64104 44084 Accepted 100
82 5 0222.7 40684 36176 Accepted 100
83 5 0519.1 70952 54348 Accepted 100
84 5 0433.6 59416 47756 Accepted 100
85 5 0302.6 61444 42292 Accepted 100
86 5 0352.8 71504 48860 Accepted 100
87 5 0278.1 64904 43628 Accepted 100
88 5 0191.7 56740 36884 Accepted 100
89 5 0366.5 61396 50600 Accepted 100
90 5 0602.8 67728 56492 Accepted 100
91 5 0237.0 69508 45176 Accepted 100
92 5 0297.5 65696 42936 Accepted 100
93 5 0306.1 63644 59364 Accepted 100
94 5 0317.5 68152 63828 Accepted 100
95 5 0293.3 56744 43600 Accepted 100
96 5 0331.0 62044 42400 Accepted 100
97 5 0263.4 62212 41488 Accepted 100
98 5 0469.6 64128 56672 Accepted 100
99 5 0369.5 60600 51752 Accepted 100
100 5 0203.9 65176 41856 Accepted 100
101 5 0586.1 64580 56532 Accepted 100
102 5 0567.2 65776 57236 Accepted 100
103 5 0357.1 72604 49960 Accepted 100
104 5 0441.5 68440 51108 Accepted 100
105 5 0196.4 64764 41880 Accepted 100
106 5 0264.3 51840 40928 Accepted 100
107 5 0147.4 50148 32804 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
4.41 KB
Back to Top