Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

32575
14072
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 0003.6 6216 3560 Accepted 100
1 1 2 3 4 0002.9 6216 3516 Accepted 100
2 1 2 3 4 0003.1 6216 3524 Accepted 100
3 2 3 4 0003.0 6216 3588 Accepted 100
4 2 3 4 0003.2 6216 3576 Accepted 100
5 2 3 4 0002.9 6216 3528 Accepted 100
6 2 3 4 0003.1 6216 3456 Accepted 100
7 2 3 4 0003.0 6216 3560 Accepted 100
8 2 3 4 0002.9 6216 3516 Accepted 100
9 2 3 4 0003.1 6216 3524 Accepted 100
10 2 3 4 0003.1 6216 3576 Accepted 100
11 2 3 4 0002.8 6216 3572 Accepted 100
12 2 3 4 0003.1 6216 3516 Accepted 100
13 2 3 4 0003.0 6216 3520 Accepted 100
14 2 3 4 0002.9 6216 3512 Accepted 100
15 2 3 4 0003.1 6216 3504 Accepted 100
16 2 3 4 0003.2 6216 3564 Accepted 100
17 2 3 4 0002.9 6216 3652 Accepted 100
18 2 3 4 0003.1 6216 3460 Accepted 100
19 2 3 4 0002.9 6216 3648 Accepted 100
20 2 3 4 0003.0 6216 3560 Accepted 100
21 2 3 4 0003.0 6216 3376 Accepted 100
22 2 3 4 0003.1 6216 3516 Accepted 100
23 2 3 4 0003.0 6216 3520 Accepted 100
24 2 3 4 0003.1 6216 3508 Accepted 100
25 2 3 4 0002.9 6216 3532 Accepted 100
26 2 3 4 0003.1 6216 3520 Accepted 100
27 2 3 4 0003.1 6216 3508 Accepted 100
28 2 3 4 0002.9 6216 3648 Accepted 100
29 2 3 4 0003.1 6216 3576 Accepted 100
30 2 3 4 0003.2 6216 3560 Accepted 100
31 2 3 4 0003.1 6216 3576 Accepted 100
32 2 3 4 0003.7 6216 3556 Accepted 100
33 3 4 0004.6 6216 3628 Accepted 100
34 3 4 0007.9 6356 3752 Accepted 100
35 3 4 0005.8 6348 3672 Accepted 100
36 3 4 0010.3 6352 3800 Accepted 100
37 3 4 0008.5 6352 3784 Accepted 100
38 3 4 0009.8 6460 3796 Accepted 100
39 3 4 0003.4 6216 3564 Accepted 100
40 3 4 0009.0 6352 3752 Accepted 100
41 3 4 0010.2 6460 3716 Accepted 100
42 3 4 0008.4 6352 3776 Accepted 100
43 3 4 0003.8 6216 3608 Accepted 100
44 3 4 0006.5 6388 3716 Accepted 100
45 3 4 0007.5 6352 3764 Accepted 100
46 3 4 0004.2 6216 3604 Accepted 100
47 3 4 0003.3 6216 3480 Accepted 100
48 3 4 0004.5 6216 3708 Accepted 100
49 3 4 0008.9 6352 3728 Accepted 100
50 3 4 0015.9 6352 3768 Accepted 100
51 3 4 0006.0 6216 3640 Accepted 100
52 3 4 0007.0 6356 3680 Accepted 100
53 3 4 0006.8 6348 3656 Accepted 100
54 3 4 0009.5 6352 3764 Accepted 100
55 3 4 0009.1 6352 3776 Accepted 100
56 3 4 0005.2 6216 3732 Accepted 100
57 3 4 0012.0 6352 3780 Accepted 100
58 3 4 0009.4 6352 3748 Accepted 100
59 3 4 0013.6 6360 3768 Accepted 100
60 3 4 0009.5 6352 3780 Accepted 100
61 3 4 0006.8 6216 3616 Accepted 100
62 3 4 0003.4 6216 3524 Accepted 100
63 3 4 0010.2 6460 3780 Accepted 100
64 3 4 0007.5 6352 3760 Accepted 100
65 3 4 0003.3 6216 3536 Accepted 100
66 3 4 0014.9 6352 3792 Accepted 100
67 3 4 0011.9 6352 3720 Accepted 100
68 3 4 0013.4 6352 3764 Accepted 100
69 3 4 0010.7 6352 3764 Accepted 100
70 3 4 0017.0 6352 3668 Accepted 100
71 3 4 0003.2 6216 3536 Accepted 100
72 3 4 0008.0 6348 3744 Accepted 100
73 4 0571.9 17344 12872 Accepted 100
74 4 0140.6 8940 5920 Accepted 100
75 4 0803.9 18356 13972 Accepted 100
76 4 1250.2 18256 13960 Accepted 100
77 4 0789.7 17344 12500 Accepted 100
78 4 0679.7 18344 14060 Accepted 100
79 4 0343.5 12400 8916 Accepted 100
80 4 0288.8 12120 8416 Accepted 100
81 4 1042.0 18356 13932 Accepted 100
82 4 0689.5 17344 12644 Accepted 100
83 4 0626.4 17344 12668 Accepted 100
84 4 0108.8 8988 5592 Accepted 100
85 4 0122.1 8600 5172 Accepted 100
86 4 0359.0 12260 8752 Accepted 100
87 4 0597.7 18356 13948 Accepted 100
88 4 0538.7 17344 13120 Accepted 100
89 4 0293.3 11848 7780 Accepted 100
90 4 0731.1 18356 14044 Accepted 100
91 4 0223.3 11688 7520 Accepted 100
92 4 0751.7 17884 13148 Accepted 100
93 4 0776.7 17344 12676 Accepted 100
94 4 0564.8 18356 13988 Accepted 100
95 4 0686.4 18356 13972 Accepted 100
96 4 0614.2 18356 14072 Accepted 100
97 4 0203.0 11648 7248 Accepted 100
98 4 0689.4 18356 13920 Accepted 100
99 4 0551.3 18356 13920 Accepted 100
100 4 0686.4 18356 13932 Accepted 100
101 4 0041.9 6932 4004 Accepted 100
102 4 0106.6 8980 5480 Accepted 100
103 4 0522.6 18356 13860 Accepted 100
104 4 0518.7 16308 12532 Accepted 100
105 4 0295.8 12184 8564 Accepted 100
106 4 0565.4 18356 13984 Accepted 100
107 4 0571.6 17344 12984 Accepted 100
108 4 0872.3 18356 14044 Accepted 100
109 4 0580.1 18356 13776 Accepted 100
110 4 0624.1 16844 11868 Accepted 100
111 4 0576.6 16628 11624 Accepted 100
112 4 0516.3 16308 12664 Accepted 100
113 4 0218.2 12320 8532 Accepted 100
114 4 0517.9 15188 10700 Accepted 100
115 4 0359.8 12608 9280 Accepted 100
116 4 0339.0 16308 12640 Accepted 100
117 4 0976.3 18356 13904 Accepted 100
118 4 1177.4 18356 13880 Accepted 100
119 4 0024.6 6800 3812 Accepted 100
120 4 0175.4 9392 6152 Accepted 100
121 4 0045.4 6936 4012 Accepted 100
122 4 0511.7 17636 12528 Accepted 100
123 4 0517.2 17164 11780 Accepted 100
124 4 0036.4 6924 3872 Accepted 100
125 4 0761.3 18356 13932 Accepted 100
126 4 1129.6 18356 13900 Accepted 100
127 4 0485.6 15508 11340 Accepted 100
128 4 1025.8 17920 13252 Accepted 100
129 4 0424.9 15416 11220 Accepted 100
130 4 0731.8 18044 13412 Accepted 100
131 4 1074.2 18356 14008 Accepted 100
132 4 0094.2 7824 4632 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.24 KB
Back to Top