Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

50517
510696
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.4 523256 4756 Accepted 100
1 1 4 0055.7 523256 6204 Accepted 100
2 1 4 0231.5 523256 6100 Accepted 100
3 1 4 0293.3 523256 6512 Accepted 100
4 1 4 0245.8 523256 6036 Accepted 100
5 1 4 0415.0 523256 9052 Accepted 100
6 1 4 0158.2 523256 5120 Accepted 100
7 1 4 0233.2 523256 8072 Accepted 100
8 1 4 0523.2 523256 9152 Accepted 100
9 1 4 0010.8 523256 4828 Accepted 100
10 2 4 2138.7 525240 392900 Time Limit Exceeded 0
11 2 4 1808.5 525856 506356 Memory Limit Exceeded 0
12 2 4 2170.2 525764 498844 Time Limit Exceeded 0
13 2 4 1560.4 524564 281636 Memory Limit Exceeded 0
14 2 4 1456.0 524444 234580 Memory Limit Exceeded 0
15 2 4 1503.2 524696 312852 Memory Limit Exceeded 0
16 2 4 2148.1 525500 441848 Time Limit Exceeded 0
17 2 4 1284.6 524852 309164 Memory Limit Exceeded 0
18 2 4 1318.2 525856 372512 Memory Limit Exceeded 0
19 2 4 1651.0 525856 414112 Memory Limit Exceeded 0
20 3 4 0298.7 526336 222024 Memory Limit Exceeded 0
21 3 4 2149.7 526092 259296 Time Limit Exceeded 0
22 3 4 0170.0 526336 117284 Memory Limit Exceeded 0
23 3 4 0213.5 526336 152084 Memory Limit Exceeded 0
24 3 4 0224.0 526336 169692 Memory Limit Exceeded 0
25 3 4 1873.3 525656 218732 Memory Limit Exceeded 0
26 3 4 0269.3 526336 205012 Memory Limit Exceeded 0
27 3 4 0266.8 526336 204344 Memory Limit Exceeded 0
28 3 4 0197.8 526336 135296 Memory Limit Exceeded 0
29 3 4 0269.5 526336 204436 Memory Limit Exceeded 0
30 4 1893.3 524712 289744 Memory Limit Exceeded 0
31 4 1626.9 525828 510696 Memory Limit Exceeded 0
32 4 2021.2 525856 476180 Memory Limit Exceeded 0
33 4 2142.0 524576 278268 Time Limit Exceeded 0
34 4 1553.6 525368 415484 Memory Limit Exceeded 0
35 4 1464.8 524696 324120 Memory Limit Exceeded 0
36 4 2179.6 525632 484980 Time Limit Exceeded 0
37 4 1678.6 525856 506388 Memory Limit Exceeded 0
38 4 2152.4 525476 430744 Time Limit Exceeded 0
39 4 2133.3 525016 332936 Time Limit Exceeded 0
40 4 1449.6 525856 372676 Memory Limit Exceeded 0
41 4 1398.1 525856 410468 Memory Limit Exceeded 0
42 4 1217.8 524744 291404 Memory Limit Exceeded 0
43 4 1415.0 524876 329208 Memory Limit Exceeded 0
44 4 1048.5 524696 334244 Memory Limit Exceeded 0
Submitter:
Compiler:
c++20
Code Length:
4.03 KB
Back to Top