Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

50483
510716
Memory Limit Exceeded
16

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$。 0 / 31
3 20~29 對於所有的 $i=1,2,\dots,n-1$,皆有 $u_i=i, v_i=i+1$。 0 / 37
4 0~44 無額外限制。 0 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0004.3 523256 4800 Accepted 100
1 1 4 0058.9 523256 6244 Accepted 100
2 1 4 0231.1 523256 6120 Accepted 100
3 1 4 0295.9 523256 6568 Accepted 100
4 1 4 0245.8 523256 5972 Accepted 100
5 1 4 0423.3 523256 9104 Accepted 100
6 1 4 0160.1 523256 5196 Accepted 100
7 1 4 0202.7 523256 8044 Accepted 100
8 1 4 0499.9 523256 9252 Accepted 100
9 1 4 0010.7 523256 4820 Accepted 100
10 2 4 2148.4 525236 393000 Time Limit Exceeded 0
11 2 4 1812.2 525856 506244 Memory Limit Exceeded 0
12 2 4 2191.0 525764 499012 Time Limit Exceeded 0
13 2 4 1567.0 524564 281612 Memory Limit Exceeded 0
14 2 4 1448.8 524444 234536 Memory Limit Exceeded 0
15 2 4 1497.8 524696 312792 Memory Limit Exceeded 0
16 2 4 2152.2 525500 441840 Time Limit Exceeded 0
17 2 4 1270.7 524852 309104 Memory Limit Exceeded 0
18 2 4 1331.6 525856 372500 Memory Limit Exceeded 0
19 2 4 1665.5 525856 414120 Memory Limit Exceeded 0
20 3 4 0290.5 526336 221740 Memory Limit Exceeded 0
21 3 4 2143.5 526096 259352 Time Limit Exceeded 0
22 3 4 0167.4 526336 117764 Memory Limit Exceeded 0
23 3 4 0213.2 526336 152544 Memory Limit Exceeded 0
24 3 4 0225.3 526336 169592 Memory Limit Exceeded 0
25 3 4 1883.7 525652 218728 Memory Limit Exceeded 0
26 3 4 0269.2 526336 204864 Memory Limit Exceeded 0
27 3 4 0269.9 526336 204776 Memory Limit Exceeded 0
28 3 4 0196.0 526336 134652 Memory Limit Exceeded 0
29 3 4 0270.8 526336 204108 Memory Limit Exceeded 0
30 4 1875.0 524712 289812 Memory Limit Exceeded 0
31 4 1621.0 525828 510716 Memory Limit Exceeded 0
32 4 2027.2 525856 476160 Memory Limit Exceeded 0
33 4 2114.5 524576 278296 Time Limit Exceeded 0
34 4 1549.5 525368 415520 Memory Limit Exceeded 0
35 4 1465.5 524696 324104 Memory Limit Exceeded 0
36 4 2182.6 525632 485060 Time Limit Exceeded 0
37 4 1675.6 525856 506376 Memory Limit Exceeded 0
38 4 2155.8 525468 430736 Time Limit Exceeded 0
39 4 2128.5 525016 333068 Time Limit Exceeded 0
40 4 1433.3 525856 372700 Memory Limit Exceeded 0
41 4 1413.9 525856 410448 Memory Limit Exceeded 0
42 4 1190.1 524744 291344 Memory Limit Exceeded 0
43 4 1444.7 524876 329208 Memory Limit Exceeded 0
44 4 1058.3 524696 334144 Memory Limit Exceeded 0
Submitter:
Compiler:
c++20
Code Length:
4.03 KB
Back to Top