Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

19708
6720
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 0~32 $N \leq 20$ 15 / 15
3 0~72 $N \leq 2000$ 16 / 16
4 0~132 無額外限制 69 / 69

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 0002.6 9836 3592 Accepted 100
1 1 2 3 4 0002.6 9836 3564 Accepted 100
2 1 2 3 4 0002.7 9836 3604 Accepted 100
3 2 3 4 0002.7 9836 3612 Accepted 100
4 2 3 4 0002.6 9836 3672 Accepted 100
5 2 3 4 0002.7 9836 3588 Accepted 100
6 2 3 4 0002.5 9836 3392 Accepted 100
7 2 3 4 0002.5 9836 3532 Accepted 100
8 2 3 4 0002.7 9836 3600 Accepted 100
9 2 3 4 0002.6 9836 3556 Accepted 100
10 2 3 4 0002.6 9836 3612 Accepted 100
11 2 3 4 0002.6 9836 3396 Accepted 100
12 2 3 4 0002.7 9836 3480 Accepted 100
13 2 3 4 0002.9 9836 3480 Accepted 100
14 2 3 4 0002.6 9836 3600 Accepted 100
15 2 3 4 0002.7 9836 3596 Accepted 100
16 2 3 4 0002.7 9836 3536 Accepted 100
17 2 3 4 0002.8 9836 3616 Accepted 100
18 2 3 4 0002.6 9836 3592 Accepted 100
19 2 3 4 0002.7 9836 3600 Accepted 100
20 2 3 4 0002.7 9836 3564 Accepted 100
21 2 3 4 0002.8 9836 3484 Accepted 100
22 2 3 4 0002.7 9836 3664 Accepted 100
23 2 3 4 0002.7 9836 3596 Accepted 100
24 2 3 4 0002.6 9836 3536 Accepted 100
25 2 3 4 0002.5 9836 3572 Accepted 100
26 2 3 4 0002.6 9836 3592 Accepted 100
27 2 3 4 0002.7 9836 3608 Accepted 100
28 2 3 4 0002.7 9836 3556 Accepted 100
29 2 3 4 0002.7 9836 3668 Accepted 100
30 2 3 4 0002.7 9836 3508 Accepted 100
31 2 3 4 0002.5 9836 3556 Accepted 100
32 2 3 4 0002.7 9836 3592 Accepted 100
33 3 4 0003.2 9836 3608 Accepted 100
34 3 4 0006.9 9836 3712 Accepted 100
35 3 4 0005.0 9836 3648 Accepted 100
36 3 4 0009.6 9836 3656 Accepted 100
37 3 4 0009.2 9836 3632 Accepted 100
38 3 4 0008.8 9836 3656 Accepted 100
39 3 4 0002.8 9836 3556 Accepted 100
40 3 4 0010.6 9836 3624 Accepted 100
41 3 4 0003.1 9836 3432 Accepted 100
42 3 4 0010.5 9836 3612 Accepted 100
43 3 4 0003.4 9836 3616 Accepted 100
44 3 4 0005.9 9836 3576 Accepted 100
45 3 4 0009.0 9836 3608 Accepted 100
46 3 4 0003.0 9836 3604 Accepted 100
47 3 4 0002.9 9836 3616 Accepted 100
48 3 4 0004.3 9836 3612 Accepted 100
49 3 4 0008.2 9836 3656 Accepted 100
50 3 4 0006.8 9836 3612 Accepted 100
51 3 4 0004.2 9836 3628 Accepted 100
52 3 4 0008.3 9836 3668 Accepted 100
53 3 4 0004.3 9836 3600 Accepted 100
54 3 4 0010.5 9836 3652 Accepted 100
55 3 4 0007.5 9836 3608 Accepted 100
56 3 4 0004.8 9836 3560 Accepted 100
57 3 4 0009.3 9836 3652 Accepted 100
58 3 4 0008.6 9836 3496 Accepted 100
59 3 4 0006.9 9836 3616 Accepted 100
60 3 4 0008.0 9836 3652 Accepted 100
61 3 4 0004.0 9836 3416 Accepted 100
62 3 4 0002.8 9836 3540 Accepted 100
63 3 4 0008.5 9836 3648 Accepted 100
64 3 4 0010.0 9836 3560 Accepted 100
65 3 4 0002.8 9836 3616 Accepted 100
66 3 4 0008.6 9836 3648 Accepted 100
67 3 4 0008.3 9836 3656 Accepted 100
68 3 4 0008.6 9836 3616 Accepted 100
69 3 4 0009.8 9836 3656 Accepted 100
70 3 4 0008.4 9836 3620 Accepted 100
71 3 4 0002.8 9836 3604 Accepted 100
72 3 4 0006.1 9836 3524 Accepted 100
73 4 0477.0 9836 6624 Accepted 100
74 4 0104.6 9836 4456 Accepted 100
75 4 0381.9 9836 6536 Accepted 100
76 4 0514.1 9836 6592 Accepted 100
77 4 0536.3 9836 6664 Accepted 100
78 4 0482.2 9836 6556 Accepted 100
79 4 0200.0 9836 5244 Accepted 100
80 4 0167.9 9836 4832 Accepted 100
81 4 0292.1 9836 6660 Accepted 100
82 4 0529.5 9836 6720 Accepted 100
83 4 0537.9 9836 6616 Accepted 100
84 4 0080.7 9836 4240 Accepted 100
85 4 0099.2 9836 4280 Accepted 100
86 4 0313.0 9836 5336 Accepted 100
87 4 0473.2 9836 6628 Accepted 100
88 4 0394.8 9836 6664 Accepted 100
89 4 0180.7 9836 4892 Accepted 100
90 4 0373.3 9836 6536 Accepted 100
91 4 0123.0 9836 4816 Accepted 100
92 4 0385.1 9836 6360 Accepted 100
93 4 0537.5 9836 6660 Accepted 100
94 4 0419.7 9836 6656 Accepted 100
95 4 0029.6 9836 5504 Accepted 100
96 4 0374.1 9836 6664 Accepted 100
97 4 0120.2 9836 4796 Accepted 100
98 4 0377.8 9836 6620 Accepted 100
99 4 0470.1 9836 6668 Accepted 100
100 4 0378.8 9836 6660 Accepted 100
101 4 0035.0 9836 3760 Accepted 100
102 4 0070.3 9836 4176 Accepted 100
103 4 0378.1 9836 6620 Accepted 100
104 4 0350.0 9836 6680 Accepted 100
105 4 0238.8 9836 5332 Accepted 100
106 4 0453.0 9836 6536 Accepted 100
107 4 0436.0 9836 6652 Accepted 100
108 4 0534.1 9836 6536 Accepted 100
109 4 0379.2 9836 6656 Accepted 100
110 4 0457.5 9836 6296 Accepted 100
111 4 0356.8 9836 6368 Accepted 100
112 4 0327.5 9836 6536 Accepted 100
113 4 0220.4 9836 5108 Accepted 100
114 4 0372.8 9836 5880 Accepted 100
115 4 0275.8 9836 5364 Accepted 100
116 4 0408.1 9836 6660 Accepted 100
117 4 0455.1 9836 6652 Accepted 100
118 4 0566.0 9836 6652 Accepted 100
119 4 0020.5 9836 3708 Accepted 100
120 4 0104.4 9836 4424 Accepted 100
121 4 0028.6 9836 3820 Accepted 100
122 4 0406.8 9836 6304 Accepted 100
123 4 0326.1 9836 5928 Accepted 100
124 4 0026.2 9836 3812 Accepted 100
125 4 0507.2 9836 6660 Accepted 100
126 4 0469.8 9836 6664 Accepted 100
127 4 0290.7 9836 6248 Accepted 100
128 4 0386.2 9836 6392 Accepted 100
129 4 0304.6 9836 6164 Accepted 100
130 4 0339.5 9836 6576 Accepted 100
131 4 0429.8 9836 6652 Accepted 100
132 4 0045.2 9836 3964 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.48 KB
Back to Top