Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

19507
63424
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 0023.2 40240 19968 Accepted 100
1 1 5 0024.2 40240 20016 Accepted 100
2 2 4 5 0023.4 40240 20060 Accepted 100
3 2 4 5 0023.1 40240 19944 Accepted 100
4 2 4 5 0028.3 40504 20608 Accepted 100
5 2 4 5 0025.9 40240 20148 Accepted 100
6 2 4 5 0027.2 40372 20364 Accepted 100
7 2 4 5 0025.4 40240 20108 Accepted 100
8 2 4 5 0027.6 40504 20572 Accepted 100
9 2 4 5 0025.9 40372 20192 Accepted 100
10 2 4 5 0026.4 40372 20212 Accepted 100
11 2 4 5 0027.1 40504 20544 Accepted 100
12 2 4 5 0025.4 40372 20364 Accepted 100
13 2 4 5 0027.2 40504 20584 Accepted 100
14 2 4 5 0025.9 40504 20596 Accepted 100
15 2 4 5 0024.9 40240 20040 Accepted 100
16 2 4 5 0025.3 40508 20752 Accepted 100
17 2 4 5 0026.2 40504 20668 Accepted 100
18 2 4 5 0028.5 40508 20612 Accepted 100
19 2 4 5 0027.1 40504 20596 Accepted 100
20 2 4 5 0029.0 40504 20560 Accepted 100
21 2 4 5 0028.4 40504 20596 Accepted 100
22 2 4 5 0024.8 40240 20084 Accepted 100
23 2 4 5 0027.0 40372 20404 Accepted 100
24 2 4 5 0027.4 40372 20368 Accepted 100
25 2 4 5 0025.9 40240 20132 Accepted 100
26 3 5 0376.5 55420 49864 Accepted 100
27 3 5 0375.2 59116 55720 Accepted 100
28 3 5 0312.2 58984 54948 Accepted 100
29 3 5 0294.4 55288 48656 Accepted 100
30 3 5 0306.1 58984 55004 Accepted 100
31 3 5 0332.6 66520 62200 Accepted 100
32 3 5 0338.1 64944 60528 Accepted 100
33 3 5 0153.5 40372 23644 Accepted 100
34 3 5 0360.2 55420 49744 Accepted 100
35 3 5 0371.1 55420 49924 Accepted 100
36 3 5 0370.8 55420 49844 Accepted 100
37 3 5 0280.1 60964 56828 Accepted 100
38 3 5 0289.0 60832 56944 Accepted 100
39 3 5 0108.5 41164 23516 Accepted 100
40 3 5 0220.9 44596 30968 Accepted 100
41 3 5 0169.4 41032 24944 Accepted 100
42 3 5 0437.3 59248 56488 Accepted 100
43 3 5 0267.8 60748 56452 Accepted 100
44 3 5 0352.2 58984 55136 Accepted 100
45 3 5 0305.7 60832 57020 Accepted 100
46 3 5 0128.3 40372 23016 Accepted 100
47 3 5 0268.1 55948 49184 Accepted 100
48 3 5 0323.2 56052 49800 Accepted 100
49 3 5 0182.6 41692 26072 Accepted 100
50 3 5 0345.7 56016 50024 Accepted 100
51 4 5 0171.1 52780 43116 Accepted 100
52 4 5 0117.2 44332 28448 Accepted 100
53 4 5 0107.5 44464 28348 Accepted 100
54 4 5 0072.2 40372 21300 Accepted 100
55 4 5 0076.2 40504 21672 Accepted 100
56 4 5 0126.2 44992 29364 Accepted 100
57 4 5 0162.6 52648 42988 Accepted 100
58 4 5 0127.6 47236 32628 Accepted 100
59 4 5 0168.1 51460 40916 Accepted 100
60 4 5 0076.7 40372 21564 Accepted 100
61 4 5 0071.3 40372 21160 Accepted 100
62 4 5 0149.2 51196 39388 Accepted 100
63 4 5 0171.2 52780 42908 Accepted 100
64 4 5 0081.4 40636 21876 Accepted 100
65 4 5 0087.3 42220 24032 Accepted 100
66 4 5 0196.9 55352 45908 Accepted 100
67 4 5 0076.6 40372 21396 Accepted 100
68 4 5 0146.9 51400 39576 Accepted 100
69 4 5 0071.8 40240 21252 Accepted 100
70 4 5 0216.5 57256 47792 Accepted 100
71 4 5 0079.1 41560 23508 Accepted 100
72 4 5 0082.8 41428 23376 Accepted 100
73 4 5 0154.9 53572 43928 Accepted 100
74 4 5 0073.3 40372 21360 Accepted 100
75 4 5 0062.7 40372 21176 Accepted 100
76 4 5 0129.2 51196 39284 Accepted 100
77 4 5 0093.1 42880 25568 Accepted 100
78 5 0475.5 58984 56412 Accepted 100
79 5 0395.2 58984 55156 Accepted 100
80 5 0187.9 40768 24560 Accepted 100
81 5 0179.7 40372 23792 Accepted 100
82 5 0278.8 58720 54060 Accepted 100
83 5 0300.1 47896 36860 Accepted 100
84 5 0279.8 50140 40212 Accepted 100
85 5 0171.3 40768 24028 Accepted 100
86 5 0188.1 40900 24812 Accepted 100
87 5 0164.9 40372 23776 Accepted 100
88 5 0168.0 40372 23752 Accepted 100
89 5 0335.1 57008 51620 Accepted 100
90 5 0429.3 55288 49900 Accepted 100
91 5 0174.3 40636 24028 Accepted 100
92 5 0171.9 40372 23612 Accepted 100
93 5 0338.3 65284 60992 Accepted 100
94 5 0356.0 67696 63424 Accepted 100
95 5 0292.5 50872 40124 Accepted 100
96 5 0269.7 45616 32240 Accepted 100
97 5 0170.5 40372 23704 Accepted 100
98 5 0413.0 61360 58776 Accepted 100
99 5 0363.1 61128 58252 Accepted 100
100 5 0306.9 41996 26108 Accepted 100
101 5 0455.7 59116 56488 Accepted 100
102 5 0462.8 58984 56324 Accepted 100
103 5 0198.2 40768 24460 Accepted 100
104 5 0248.5 47500 35776 Accepted 100
105 5 0200.2 41564 25860 Accepted 100
106 5 0280.2 54964 47080 Accepted 100
107 5 0151.6 40768 23664 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.84 KB
Back to Top