Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

20028
488132
Memory Limit Exceeded
0

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $n\leq 500$ 0 / 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 (RSS, KiB) Verdict Score
0 1 4 0000.0 4548 Accepted 100
1 1 4 0120.0 4604 Accepted 100
2 1 4 0252.0 4516 Accepted 100
3 1 4 0816.0 4616 Accepted 100
4 1 4 0256.0 4520 Accepted 100
5 1 4 1008.0 4760 Time Limit Exceeded 0
6 1 4 0124.0 4628 Accepted 100
7 1 4 0944.0 4696 Accepted 100
8 1 4 1200.0 4636 Time Limit Exceeded 0
9 1 4 0004.0 4504 Accepted 100
10 2 4 0448.0 488080 Memory Limit Exceeded 0
11 2 4 0452.0 487304 Memory Limit Exceeded 0
12 2 4 0440.0 488064 Memory Limit Exceeded 0
13 2 4 0436.0 487928 Memory Limit Exceeded 0
14 2 4 0432.0 487924 Memory Limit Exceeded 0
15 2 4 0456.0 487756 Memory Limit Exceeded 0
16 2 4 0448.0 487848 Memory Limit Exceeded 0
17 2 4 0432.0 487976 Memory Limit Exceeded 0
18 2 4 0436.0 486952 Memory Limit Exceeded 0
19 2 4 0444.0 487364 Memory Limit Exceeded 0
20 3 4 0416.0 488104 Memory Limit Exceeded 0
21 3 4 0420.0 488020 Memory Limit Exceeded 0
22 3 4 0436.0 488024 Memory Limit Exceeded 0
23 3 4 0428.0 488008 Memory Limit Exceeded 0
24 3 4 0432.0 488016 Memory Limit Exceeded 0
25 3 4 0412.0 487972 Memory Limit Exceeded 0
26 3 4 0428.0 488104 Memory Limit Exceeded 0
27 3 4 0420.0 488044 Memory Limit Exceeded 0
28 3 4 0428.0 488020 Memory Limit Exceeded 0
29 3 4 0424.0 488100 Memory Limit Exceeded 0
30 4 0440.0 488032 Memory Limit Exceeded 0
31 4 0444.0 487816 Memory Limit Exceeded 0
32 4 0436.0 487376 Memory Limit Exceeded 0
33 4 0428.0 487924 Memory Limit Exceeded 0
34 4 0444.0 488024 Memory Limit Exceeded 0
35 4 0428.0 488088 Memory Limit Exceeded 0
36 4 0468.0 488020 Memory Limit Exceeded 0
37 4 0448.0 487460 Memory Limit Exceeded 0
38 4 0452.0 488132 Memory Limit Exceeded 0
39 4 0448.0 488032 Memory Limit Exceeded 0
40 4 0444.0 487080 Memory Limit Exceeded 0
41 4 0444.0 487248 Memory Limit Exceeded 0
42 4 0440.0 487948 Memory Limit Exceeded 0
43 4 0432.0 487912 Memory Limit Exceeded 0
44 4 0440.0 488092 Memory Limit Exceeded 0
Submitter:
Compiler:
c++14
Code Length:
2.82 KB
Back to Top