Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

34119
514084
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $n\leq 500$ 16 / 16
2 10~19 對於所有的 $i=1,2\dots,n-1$,皆有 $p_i=1$。 31 / 31
3 20~29 對於所有的 $i=1,2,\dots,n-1$,皆有 $u_i=i, v_i=i+1$。 37 / 37
4 0~44 無額外限制。 16 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0002.6 6208 3608 Accepted 100
1 1 4 0022.9 7000 4068 Accepted 100
2 1 4 0081.4 6868 3920 Accepted 100
3 1 4 0115.1 7132 4232 Accepted 100
4 1 4 0087.8 6736 3988 Accepted 100
5 1 4 0139.3 8848 5748 Accepted 100
6 1 4 0061.1 6340 3768 Accepted 100
7 1 4 0078.0 8188 5108 Accepted 100
8 1 4 0160.9 8848 5868 Accepted 100
9 1 4 0005.0 6208 3664 Accepted 100
10 2 4 1260.1 384848 382048 Accepted 100
11 2 4 0933.9 495772 492604 Accepted 100
12 2 4 1270.8 488008 485264 Accepted 100
13 2 4 0684.7 261540 258480 Accepted 100
14 2 4 0555.7 217704 214696 Accepted 100
15 2 4 0717.9 290184 287320 Accepted 100
16 2 4 1374.2 432384 429340 Accepted 100
17 2 4 0609.4 286464 283572 Accepted 100
18 2 4 0688.3 365368 362040 Accepted 100
19 2 4 0863.2 406020 402628 Accepted 100
20 3 4 1055.8 351816 349100 Accepted 100
21 3 4 0908.7 241996 239020 Accepted 100
22 3 4 1473.8 516900 514084 Accepted 100
23 3 4 1243.5 462632 459716 Accepted 100
24 3 4 1554.7 447924 444964 Accepted 100
25 3 4 0729.2 204116 201248 Accepted 100
26 3 4 1168.6 381772 378796 Accepted 100
27 3 4 1074.7 380156 377296 Accepted 100
28 3 4 1376.3 513792 510940 Accepted 100
29 3 4 1177.0 387040 384188 Accepted 100
30 4 0743.9 268528 265668 Accepted 100
31 4 0922.0 499500 496360 Accepted 100
32 4 1024.4 466480 463224 Accepted 100
33 4 0809.4 258124 255360 Accepted 100
34 4 0789.8 406512 403472 Accepted 100
35 4 0663.2 300480 297572 Accepted 100
36 4 1274.8 474512 471612 Accepted 100
37 4 0881.9 495640 492332 Accepted 100
38 4 1136.5 421552 418800 Accepted 100
39 4 1083.5 308576 305828 Accepted 100
40 4 0733.0 365632 362420 Accepted 100
41 4 0742.6 402280 398912 Accepted 100
42 4 0584.3 270072 266864 Accepted 100
43 4 0691.5 304956 301700 Accepted 100
44 4 0563.2 309720 306880 Accepted 100
Submitter:
Tam
Compiler:
c++20
Code Length:
4.7 KB
Back to Top