Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

89169
317056
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~36 $\forall 1\leq i \leq N, p_i = i-1$ 30 / 30
3 0~106 無特別限制 70 / 70

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 3 0056.1 135612 91728 Accepted 100
1 1 3 0054.5 135612 91752 Accepted 100
2 2 3 0057.5 135612 91584 Accepted 100
3 2 3 0097.4 145248 106956 Accepted 100
4 2 3 0095.2 145248 107164 Accepted 100
5 2 3 0119.1 145576 107448 Accepted 100
6 2 3 0126.6 145560 107328 Accepted 100
7 2 3 0088.0 145116 106992 Accepted 100
8 2 3 0082.6 145116 106956 Accepted 100
9 2 3 0303.3 151316 113080 Accepted 100
10 2 3 0326.7 150204 111932 Accepted 100
11 2 3 0133.3 152292 113328 Accepted 100
12 2 3 0116.2 152292 113180 Accepted 100
13 2 3 0252.5 158640 119640 Accepted 100
14 2 3 0263.7 158580 119240 Accepted 100
15 2 3 0175.4 148548 111172 Accepted 100
16 2 3 0188.2 149208 111812 Accepted 100
17 2 3 0450.2 158388 120432 Accepted 100
18 2 3 0494.1 157496 119548 Accepted 100
19 2 3 0145.0 159512 120004 Accepted 100
20 2 3 0146.6 159512 120096 Accepted 100
21 2 3 0141.6 159512 119964 Accepted 100
22 2 3 0159.6 159512 120096 Accepted 100
23 2 3 0154.1 159512 119972 Accepted 100
24 2 3 0144.9 159512 120128 Accepted 100
25 2 3 0404.5 172424 132724 Accepted 100
26 2 3 0407.8 172528 132476 Accepted 100
27 2 3 0405.7 172584 132912 Accepted 100
28 2 3 0405.8 172412 132876 Accepted 100
29 2 3 0251.4 152640 116088 Accepted 100
30 2 3 0494.2 157316 119244 Accepted 100
31 2 3 0464.1 158384 120344 Accepted 100
32 2 3 0398.0 153332 112488 Accepted 100
33 2 3 0120.6 154824 112628 Accepted 100
34 2 3 0211.5 158928 116348 Accepted 100
35 2 3 0190.3 148416 109040 Accepted 100
36 2 3 0388.4 151584 111552 Accepted 100
37 3 1724.7 324892 288812 Accepted 100
38 3 1774.6 325320 289636 Accepted 100
39 3 1757.8 326516 291356 Accepted 100
40 3 0884.9 253308 235828 Accepted 100
41 3 1450.2 260784 242216 Accepted 100
42 3 1489.7 262212 243416 Accepted 100
43 3 2155.7 353284 316680 Accepted 100
44 3 2193.9 353968 317056 Accepted 100
45 3 2095.6 351032 314276 Accepted 100
46 3 2184.8 354176 317036 Accepted 100
47 3 0991.2 257648 240532 Accepted 100
48 3 1466.8 258792 240324 Accepted 100
49 3 0859.5 201972 170776 Accepted 100
50 3 1177.1 265784 223216 Accepted 100
51 3 1194.1 265388 222996 Accepted 100
52 3 0860.6 202168 171052 Accepted 100
53 3 0763.0 203232 172108 Accepted 100
54 3 0712.2 236168 216056 Accepted 100
55 3 1184.6 263220 234200 Accepted 100
56 3 1193.9 263188 234072 Accepted 100
57 3 1259.3 266444 237440 Accepted 100
58 3 1260.2 265768 237160 Accepted 100
59 3 0681.7 237300 217264 Accepted 100
60 3 0687.2 237088 216716 Accepted 100
61 3 1377.1 251472 231564 Accepted 100
62 3 1987.9 335212 297592 Accepted 100
63 3 2109.4 336468 299448 Accepted 100
64 3 2088.0 338068 300420 Accepted 100
65 3 2101.5 342412 303564 Accepted 100
66 3 0839.9 245636 226344 Accepted 100
67 3 1338.1 249800 229904 Accepted 100
68 3 0776.3 198152 165892 Accepted 100
69 3 0868.6 196496 164356 Accepted 100
70 3 1104.7 257992 215880 Accepted 100
71 3 1219.3 258712 216836 Accepted 100
72 3 1129.4 257652 215448 Accepted 100
73 3 1150.7 259740 217056 Accepted 100
74 3 0697.1 193532 162496 Accepted 100
75 3 0806.6 197428 165312 Accepted 100
76 3 0734.6 200028 167968 Accepted 100
77 3 0643.8 235756 215112 Accepted 100
78 3 1157.6 264132 235132 Accepted 100
79 3 1195.6 263532 234836 Accepted 100
80 3 1189.9 264524 235924 Accepted 100
81 3 0727.2 233728 212848 Accepted 100
82 3 0875.3 231724 198516 Accepted 100
83 3 0856.6 230856 197060 Accepted 100
84 3 0840.4 230356 196644 Accepted 100
85 3 0842.8 230460 196888 Accepted 100
86 3 0460.7 204348 179544 Accepted 100
87 3 1161.8 216768 191888 Accepted 100
88 3 1440.3 260256 226772 Accepted 100
89 3 1452.8 261208 227140 Accepted 100
90 3 1447.6 262236 228068 Accepted 100
91 3 1458.4 258416 224844 Accepted 100
92 3 0923.7 211088 186988 Accepted 100
93 3 1163.4 218488 193492 Accepted 100
94 3 0596.7 180752 146208 Accepted 100
95 3 0746.5 180688 146124 Accepted 100
96 3 0821.9 211636 173120 Accepted 100
97 3 0856.3 212272 173336 Accepted 100
98 3 0838.3 211444 172312 Accepted 100
99 3 0863.4 211520 172644 Accepted 100
100 3 0726.0 182020 147696 Accepted 100
101 3 0488.1 203380 177896 Accepted 100
102 3 0850.5 230108 196432 Accepted 100
103 3 0787.6 226504 192896 Accepted 100
104 3 0909.1 226520 192800 Accepted 100
105 3 1037.1 231000 197464 Accepted 100
106 3 0962.4 230844 197224 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
6.25 KB
Back to Top