Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

225171
551256
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 0053.5 164136 102032 Accepted 100
1 1 3 0052.4 164136 102040 Accepted 100
2 2 3 0065.1 164136 101972 Accepted 100
3 2 3 1544.2 449456 420428 Accepted 100
4 2 3 1581.5 449404 420516 Accepted 100
5 2 3 1442.7 449400 420504 Accepted 100
6 2 3 1324.6 424824 403916 Accepted 100
7 2 3 0903.6 397544 384800 Accepted 100
8 2 3 0908.8 397596 384948 Accepted 100
9 2 3 1591.7 411520 398744 Accepted 100
10 2 3 1598.9 407312 394992 Accepted 100
11 2 3 2456.2 515220 484296 Accepted 100
12 2 3 2403.2 515212 484224 Accepted 100
13 2 3 2454.6 515000 484584 Accepted 100
14 2 3 2493.1 514976 484208 Accepted 100
15 2 3 1256.3 402612 390644 Accepted 100
16 2 3 1263.6 405064 393180 Accepted 100
17 2 3 2207.4 422984 409888 Accepted 100
18 2 3 2181.5 417228 405100 Accepted 100
19 2 3 3525.7 583528 550040 Accepted 100
20 2 3 3515.7 583536 550164 Accepted 100
21 2 3 3429.3 583544 550584 Accepted 100
22 2 3 3398.1 583628 551080 Accepted 100
23 2 3 3453.6 583512 550384 Accepted 100
24 2 3 3333.8 583652 551256 Accepted 100
25 2 3 3553.6 582876 550352 Accepted 100
26 2 3 3508.5 558332 533452 Accepted 100
27 2 3 3772.7 582936 549440 Accepted 100
28 2 3 3537.9 582888 550504 Accepted 100
29 2 3 1762.1 408104 396844 Accepted 100
30 2 3 2361.4 416920 404616 Accepted 100
31 2 3 2195.7 422976 409720 Accepted 100
32 2 3 1502.2 289332 252524 Accepted 100
33 2 3 1960.4 410684 361520 Accepted 100
34 2 3 2007.0 411284 361068 Accepted 100
35 2 3 0927.6 281292 245508 Accepted 100
36 2 3 1297.0 288984 252152 Accepted 100
37 3 3140.9 436296 402676 Accepted 100
38 3 3191.4 436656 404156 Accepted 100
39 3 3190.8 438908 406148 Accepted 100
40 3 1970.4 344216 330372 Accepted 100
41 3 2832.2 357184 341224 Accepted 100
42 3 3033.4 356516 340940 Accepted 100
43 3 3871.4 492324 455580 Accepted 100
44 3 3871.7 493984 456404 Accepted 100
45 3 3768.6 489092 452256 Accepted 100
46 3 3989.5 494344 455880 Accepted 100
47 3 2224.1 348808 334548 Accepted 100
48 3 3033.1 350560 336404 Accepted 100
49 3 1544.1 263304 225932 Accepted 100
50 3 2078.2 371596 317460 Accepted 100
51 3 2056.0 374836 320908 Accepted 100
52 3 1575.0 263428 225876 Accepted 100
53 3 1572.6 269824 231472 Accepted 100
54 3 1420.2 316512 302528 Accepted 100
55 3 2264.4 343688 320536 Accepted 100
56 3 2183.7 343912 320540 Accepted 100
57 3 2250.6 349172 325344 Accepted 100
58 3 2287.3 347724 324676 Accepted 100
59 3 1550.4 317176 303308 Accepted 100
60 3 1432.7 317984 303216 Accepted 100
61 3 2781.7 338156 323980 Accepted 100
62 3 3562.0 460860 425872 Accepted 100
63 3 3616.3 462700 428664 Accepted 100
64 3 3617.6 465660 430040 Accepted 100
65 3 3689.1 473624 435172 Accepted 100
66 3 2075.9 329172 314316 Accepted 100
67 3 2793.1 334492 320728 Accepted 100
68 3 1414.6 261496 222632 Accepted 100
69 3 1532.5 254340 216648 Accepted 100
70 3 2038.5 356792 305016 Accepted 100
71 3 2016.5 358108 306896 Accepted 100
72 3 1986.6 360292 308540 Accepted 100
73 3 1957.4 360320 306876 Accepted 100
74 3 1379.0 250232 212456 Accepted 100
75 3 1520.9 255692 217512 Accepted 100
76 3 1498.3 264508 225212 Accepted 100
77 3 1523.5 316132 301460 Accepted 100
78 3 2206.9 345460 321144 Accepted 100
79 3 2206.8 343488 320596 Accepted 100
80 3 2292.2 345176 322076 Accepted 100
81 3 1431.4 312584 297952 Accepted 100
82 3 1553.8 284244 262988 Accepted 100
83 3 1592.6 284156 261524 Accepted 100
84 3 1526.4 282792 260772 Accepted 100
85 3 1530.7 282284 260380 Accepted 100
86 3 1034.5 256816 243292 Accepted 100
87 3 2163.6 274576 260924 Accepted 100
88 3 2417.6 340924 316764 Accepted 100
89 3 2486.1 342216 317448 Accepted 100
90 3 2482.7 344420 319128 Accepted 100
91 3 2539.2 337536 313992 Accepted 100
92 3 1811.5 264008 251900 Accepted 100
93 3 2154.6 276300 262568 Accepted 100
94 3 1045.6 230028 191520 Accepted 100
95 3 1179.0 225184 187792 Accepted 100
96 3 1475.5 278940 235340 Accepted 100
97 3 1459.7 280092 236024 Accepted 100
98 3 1408.7 278736 234052 Accepted 100
99 3 1445.3 279572 235040 Accepted 100
100 3 1281.2 227440 189932 Accepted 100
101 3 1036.1 255192 241388 Accepted 100
102 3 1474.8 282320 260440 Accepted 100
103 3 1448.5 276904 254872 Accepted 100
104 3 1460.6 276700 255304 Accepted 100
105 3 1538.8 284160 261944 Accepted 100
106 3 1325.0 283172 260704 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.89 KB
Back to Top