Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~3 範例測資 0 / 0
2 0, 2, 4~21 $n \leq 8$ 20 / 20
3 2, 22~41 $p_i = 0$ 20 / 20
4 0~72 無其他限制 60 / 60

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 4 0001.6 7496 4044 Accepted 100
1 1 4 0001.4 7496 4012 Accepted 100
2 1 2 3 4 0001.9 7496 4184 Accepted 100
3 1 4 0001.3 7496 4084 Accepted 100
4 2 4 0002.0 7496 4136 Accepted 100
5 2 4 0001.6 7496 4132 Accepted 100
6 2 4 0001.7 7496 4136 Accepted 100
7 2 4 0001.6 7496 4076 Accepted 100
8 2 4 0001.4 7496 4180 Accepted 100
9 2 4 0001.6 7496 4184 Accepted 100
10 2 4 0001.4 7496 4148 Accepted 100
11 2 4 0001.5 7496 4072 Accepted 100
12 2 4 0001.7 7496 4184 Accepted 100
13 2 4 0001.8 7496 4128 Accepted 100
14 2 4 0001.7 7496 4028 Accepted 100
15 2 4 0001.4 7496 4128 Accepted 100
16 2 4 0001.6 7496 4072 Accepted 100
17 2 4 0001.5 7496 4128 Accepted 100
18 2 4 0001.5 7496 4124 Accepted 100
19 2 4 0001.4 7496 4124 Accepted 100
20 2 4 0001.5 7496 4124 Accepted 100
21 2 4 0001.5 7496 4116 Accepted 100
22 3 4 0001.7 7496 4068 Accepted 100
23 3 4 0001.6 7496 3900 Accepted 100
24 3 4 0001.5 7496 4144 Accepted 100
25 3 4 0001.5 7496 4068 Accepted 100
26 3 4 0001.5 7496 4160 Accepted 100
27 3 4 0002.0 7496 4132 Accepted 100
28 3 4 0001.7 7496 4216 Accepted 100
29 3 4 0029.8 7496 4696 Accepted 100
30 3 4 0001.9 7496 4164 Accepted 100
31 3 4 0008.5 7496 4516 Accepted 100
32 3 4 0005.3 7496 4460 Accepted 100
33 3 4 0034.0 7496 4728 Accepted 100
34 3 4 0035.8 7496 4748 Accepted 100
35 3 4 0001.9 7496 4072 Accepted 100
36 3 4 0014.6 7496 4604 Accepted 100
37 3 4 0004.7 7496 4372 Accepted 100
38 3 4 0004.3 7496 4416 Accepted 100
39 3 4 0002.4 7496 4332 Accepted 100
40 3 4 0020.2 7496 4640 Accepted 100
41 3 4 0009.8 7496 4288 Accepted 100
42 4 0027.7 7496 4756 Accepted 100
43 4 0008.4 7496 4520 Accepted 100
44 4 0034.4 7496 4736 Accepted 100
45 4 0034.0 7496 4652 Accepted 100
46 4 0030.7 7496 4744 Accepted 100
47 4 0034.9 7496 4768 Accepted 100
48 4 0035.8 7496 4696 Accepted 100
49 4 0020.8 7496 4688 Accepted 100
50 4 0026.1 7496 4708 Accepted 100
51 4 0004.5 7496 4172 Accepted 100
52 4 0028.5 7496 4632 Accepted 100
53 4 0031.2 7496 4768 Accepted 100
54 4 0017.8 7496 4604 Accepted 100
55 4 0030.4 7496 4808 Accepted 100
56 4 0015.1 7496 4416 Accepted 100
57 4 0027.3 7496 4696 Accepted 100
58 4 0021.9 7496 4716 Accepted 100
59 4 0014.3 7496 4608 Accepted 100
60 4 0019.9 7496 4704 Accepted 100
61 4 0030.3 7496 4764 Accepted 100
62 4 0030.0 7496 4708 Accepted 100
63 4 0029.1 7496 4744 Accepted 100
64 4 0001.9 7496 4180 Accepted 100
65 4 0001.4 7496 4144 Accepted 100
66 4 0001.7 7496 4140 Accepted 100
67 4 0002.0 7496 4268 Accepted 100
68 4 0002.9 7496 4308 Accepted 100
69 4 0012.3 7496 4508 Accepted 100
70 4 0004.7 7496 4480 Accepted 100
71 4 0015.7 7496 4696 Accepted 100
72 4 0022.7 7496 4532 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.26 KB
Back to Top