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 0002.4 8332 4696 Accepted 100
1 1 4 0002.2 8332 4656 Accepted 100
2 1 2 3 4 0001.9 8332 4656 Accepted 100
3 1 4 0002.0 8332 4724 Accepted 100
4 2 4 0001.8 8332 4724 Accepted 100
5 2 4 0002.1 8332 4616 Accepted 100
6 2 4 0001.9 8332 4732 Accepted 100
7 2 4 0002.4 8332 4596 Accepted 100
8 2 4 0001.5 8332 4552 Accepted 100
9 2 4 0002.0 8332 4640 Accepted 100
10 2 4 0002.1 8332 4772 Accepted 100
11 2 4 0001.9 8332 4660 Accepted 100
12 2 4 0002.0 8332 4616 Accepted 100
13 2 4 0001.6 8332 4772 Accepted 100
14 2 4 0002.0 8332 4632 Accepted 100
15 2 4 0001.6 8332 4804 Accepted 100
16 2 4 0002.0 8332 4684 Accepted 100
17 2 4 0001.7 8332 4748 Accepted 100
18 2 4 0002.0 8332 4656 Accepted 100
19 2 4 0001.6 8332 4776 Accepted 100
20 2 4 0001.7 8332 4592 Accepted 100
21 2 4 0001.9 8332 4660 Accepted 100
22 3 4 0001.9 8332 4752 Accepted 100
23 3 4 0001.5 8332 4744 Accepted 100
24 3 4 0002.2 8332 4676 Accepted 100
25 3 4 0002.0 8332 4616 Accepted 100
26 3 4 0002.0 8332 4816 Accepted 100
27 3 4 0001.6 8332 4628 Accepted 100
28 3 4 0002.1 8332 4836 Accepted 100
29 3 4 0034.5 8332 5936 Accepted 100
30 3 4 0002.2 8332 4980 Accepted 100
31 3 4 0009.7 8332 5348 Accepted 100
32 3 4 0005.9 8332 5416 Accepted 100
33 3 4 0026.2 8332 5960 Accepted 100
34 3 4 0030.2 8332 5880 Accepted 100
35 3 4 0002.0 8332 4640 Accepted 100
36 3 4 0015.8 8332 5720 Accepted 100
37 3 4 0003.7 8332 5108 Accepted 100
38 3 4 0006.1 8332 5252 Accepted 100
39 3 4 0003.4 8332 5096 Accepted 100
40 3 4 0019.2 8332 5552 Accepted 100
41 3 4 0007.1 8332 5452 Accepted 100
42 4 0031.1 8332 5860 Accepted 100
43 4 0001.8 8332 4696 Accepted 100
44 4 0001.8 8332 4744 Accepted 100
45 4 0004.0 8332 5848 Accepted 100
46 4 0007.5 8332 5924 Accepted 100
47 4 0018.6 8332 5948 Accepted 100
48 4 0021.4 8332 5796 Accepted 100
49 4 0031.8 8332 5808 Accepted 100
50 4 0021.7 8332 5912 Accepted 100
51 4 0003.8 8332 5196 Accepted 100
52 4 0026.4 8332 5812 Accepted 100
53 4 0002.6 8332 4672 Accepted 100
54 4 0001.8 8332 4592 Accepted 100
55 4 0011.7 8332 6012 Accepted 100
56 4 0020.1 8332 5636 Accepted 100
57 4 0033.6 8332 5928 Accepted 100
58 4 0028.4 8332 5812 Accepted 100
59 4 0019.2 8332 5620 Accepted 100
60 4 0025.5 8332 5908 Accepted 100
61 4 0036.0 8332 5808 Accepted 100
62 4 0002.6 8332 4724 Accepted 100
63 4 0032.4 8332 5980 Accepted 100
64 4 0002.3 8332 4952 Accepted 100
65 4 0001.9 8332 4684 Accepted 100
66 4 0002.0 8332 4556 Accepted 100
67 4 0002.2 8332 4948 Accepted 100
68 4 0002.7 8332 4984 Accepted 100
69 4 0002.0 8332 4752 Accepted 100
70 4 0001.9 8332 4584 Accepted 100
71 4 0018.2 8332 5568 Accepted 100
72 4 0004.4 8332 5772 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.37 KB
Back to Top