Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

21988
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 4612 Accepted 100
1 1 4 0120.0 4624 Accepted 100
2 1 4 0372.0 4536 Accepted 100
3 1 4 0832.0 4648 Accepted 100
4 1 4 0368.0 4612 Accepted 100
5 1 4 1784.0 4704 Time Limit Exceeded 0
6 1 4 0124.0 4632 Accepted 100
7 1 4 0972.0 4664 Accepted 100
8 1 4 1968.0 4472 Time Limit Exceeded 0
9 1 4 0004.0 4524 Accepted 100
10 2 4 0452.0 488036 Memory Limit Exceeded 0
11 2 4 0448.0 487380 Memory Limit Exceeded 0
12 2 4 0456.0 488024 Memory Limit Exceeded 0
13 2 4 0444.0 487744 Memory Limit Exceeded 0
14 2 4 0436.0 487976 Memory Limit Exceeded 0
15 2 4 0448.0 488020 Memory Limit Exceeded 0
16 2 4 0460.0 488100 Memory Limit Exceeded 0
17 2 4 0440.0 487920 Memory Limit Exceeded 0
18 2 4 0448.0 487120 Memory Limit Exceeded 0
19 2 4 0448.0 487304 Memory Limit Exceeded 0
20 3 4 0428.0 488084 Memory Limit Exceeded 0
21 3 4 0420.0 487904 Memory Limit Exceeded 0
22 3 4 0436.0 488036 Memory Limit Exceeded 0
23 3 4 0428.0 488132 Memory Limit Exceeded 0
24 3 4 0428.0 488076 Memory Limit Exceeded 0
25 3 4 0420.0 487864 Memory Limit Exceeded 0
26 3 4 0436.0 488104 Memory Limit Exceeded 0
27 3 4 0428.0 488112 Memory Limit Exceeded 0
28 3 4 0428.0 488076 Memory Limit Exceeded 0
29 3 4 0428.0 488096 Memory Limit Exceeded 0
30 4 0440.0 487908 Memory Limit Exceeded 0
31 4 0448.0 487800 Memory Limit Exceeded 0
32 4 0448.0 487284 Memory Limit Exceeded 0
33 4 0440.0 488012 Memory Limit Exceeded 0
34 4 0440.0 487936 Memory Limit Exceeded 0
35 4 0436.0 488044 Memory Limit Exceeded 0
36 4 0456.0 487928 Memory Limit Exceeded 0
37 4 0452.0 487480 Memory Limit Exceeded 0
38 4 0444.0 488052 Memory Limit Exceeded 0
39 4 0456.0 488020 Memory Limit Exceeded 0
40 4 0436.0 487124 Memory Limit Exceeded 0
41 4 0436.0 487276 Memory Limit Exceeded 0
42 4 0444.0 487936 Memory Limit Exceeded 0
43 4 0444.0 487892 Memory Limit Exceeded 0
44 4 0464.0 488004 Memory Limit Exceeded 0
Submitter:
Compiler:
c++14
Code Length:
2.8 KB
Back to Top