Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

140426
462508
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 0115.2 183668 179220 Accepted 100
1 1 3 0109.2 183668 179148 Accepted 100
2 2 3 0097.4 183668 179308 Accepted 100
3 2 3 1216.9 395068 386820 Accepted 100
4 2 3 1193.6 395044 386868 Accepted 100
5 2 3 1149.6 395016 388372 Accepted 100
6 2 3 1124.0 395024 387680 Accepted 100
7 2 3 0667.5 389352 383576 Accepted 100
8 2 3 0682.4 389356 383816 Accepted 100
9 2 3 1233.6 397840 390148 Accepted 100
10 2 3 1172.1 397112 389356 Accepted 100
11 2 3 1695.7 432096 423200 Accepted 100
12 2 3 1690.5 432088 422328 Accepted 100
13 2 3 1751.1 431424 422816 Accepted 100
14 2 3 1765.3 431384 421724 Accepted 100
15 2 3 0836.2 394064 388320 Accepted 100
16 2 3 0834.5 394860 389108 Accepted 100
17 2 3 1395.3 406480 399604 Accepted 100
18 2 3 1452.8 404952 398168 Accepted 100
19 2 3 2230.8 474148 460808 Accepted 100
20 2 3 2212.0 474136 460788 Accepted 100
21 2 3 2164.8 474132 462372 Accepted 100
22 2 3 2164.0 474132 462016 Accepted 100
23 2 3 2220.9 474128 462432 Accepted 100
24 2 3 2193.8 474132 462508 Accepted 100
25 2 3 2388.7 473056 460380 Accepted 100
26 2 3 2391.6 466936 456112 Accepted 100
27 2 3 2305.7 473080 460092 Accepted 100
28 2 3 2328.8 473116 460244 Accepted 100
29 2 3 0910.0 399068 393388 Accepted 100
30 2 3 1441.3 404796 398016 Accepted 100
31 2 3 1414.1 406484 399712 Accepted 100
32 2 3 0875.5 294620 287620 Accepted 100
33 2 3 1285.4 344416 335024 Accepted 100
34 2 3 1342.3 344640 335044 Accepted 100
35 2 3 0533.6 286692 281864 Accepted 100
36 2 3 0906.3 294472 287452 Accepted 100
37 3 1881.2 370932 361284 Accepted 100
38 3 1783.4 371524 362260 Accepted 100
39 3 1913.0 373044 363680 Accepted 100
40 3 1073.4 343948 337712 Accepted 100
41 3 1739.5 351432 343788 Accepted 100
42 3 1727.0 353476 345440 Accepted 100
43 3 2348.7 407888 394244 Accepted 100
44 3 2249.8 408504 394392 Accepted 100
45 3 2397.6 405016 391436 Accepted 100
46 3 2421.9 408824 394400 Accepted 100
47 3 1254.8 349180 342484 Accepted 100
48 3 1670.3 349192 341980 Accepted 100
49 3 0998.4 273924 266692 Accepted 100
50 3 1277.3 316708 305240 Accepted 100
51 3 1266.9 316312 304916 Accepted 100
52 3 1011.1 274220 267048 Accepted 100
53 3 0954.0 272180 265964 Accepted 100
54 3 0885.8 322540 316632 Accepted 100
55 3 1253.3 327808 320900 Accepted 100
56 3 1287.4 327856 320660 Accepted 100
57 3 1266.9 331968 324240 Accepted 100
58 3 1319.8 331204 323944 Accepted 100
59 3 0871.4 323876 318212 Accepted 100
60 3 0878.6 323904 317948 Accepted 100
61 3 1643.8 339700 332644 Accepted 100
62 3 2177.5 385936 373760 Accepted 100
63 3 2239.7 387472 375960 Accepted 100
64 3 2110.9 389384 377012 Accepted 100
65 3 2110.5 394584 380056 Accepted 100
66 3 1101.3 333980 327096 Accepted 100
67 3 1652.6 337660 330896 Accepted 100
68 3 0859.6 265636 259400 Accepted 100
69 3 0961.0 266904 259856 Accepted 100
70 3 1242.8 307764 297520 Accepted 100
71 3 1201.3 308540 298532 Accepted 100
72 3 1217.1 307272 297104 Accepted 100
73 3 1214.0 309716 298720 Accepted 100
74 3 0821.7 263772 257492 Accepted 100
75 3 0915.8 268180 260932 Accepted 100
76 3 0923.5 268108 261712 Accepted 100
77 3 0895.4 322176 316256 Accepted 100
78 3 1235.2 329580 322184 Accepted 100
79 3 1185.6 328624 321652 Accepted 100
80 3 1266.5 330044 322736 Accepted 100
81 3 0818.4 319384 313460 Accepted 100
82 3 0940.1 285140 279140 Accepted 100
83 3 0941.3 283936 277180 Accepted 100
84 3 0915.1 283324 276916 Accepted 100
85 3 0911.1 283400 277252 Accepted 100
86 3 0726.5 279180 274368 Accepted 100
87 3 1403.5 292296 286308 Accepted 100
88 3 1548.4 323476 312896 Accepted 100
89 3 1556.6 324604 313440 Accepted 100
90 3 1530.0 325888 314600 Accepted 100
91 3 1487.1 321268 311084 Accepted 100
92 3 1064.3 287408 282084 Accepted 100
93 3 1363.4 294772 288084 Accepted 100
94 3 0681.9 241860 236136 Accepted 100
95 3 0806.0 244984 238316 Accepted 100
96 3 0916.4 267628 259572 Accepted 100
97 3 0908.1 268280 259660 Accepted 100
98 3 0918.5 267348 258856 Accepted 100
99 3 0997.0 267408 259088 Accepted 100
100 3 0872.0 246916 240216 Accepted 100
101 3 0642.8 277912 272440 Accepted 100
102 3 0882.9 283272 276660 Accepted 100
103 3 0821.2 278408 272564 Accepted 100
104 3 0844.3 278432 272544 Accepted 100
105 3 0870.4 284464 278116 Accepted 100
106 3 0859.4 284372 277788 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.2 KB
Back to Top