Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

24204
383300
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 (RSS, KiB) Verdict Score
0 1 4 0000.0 4704 Accepted 100
1 1 4 0016.0 5856 Accepted 100
2 1 4 0056.0 5500 Accepted 100
3 1 4 0092.0 6008 Accepted 100
4 1 4 0064.0 5440 Accepted 100
5 1 4 0096.0 7676 Accepted 100
6 1 4 0048.0 4964 Accepted 100
7 1 4 0064.0 6972 Accepted 100
8 1 4 0116.0 7884 Accepted 100
9 1 4 0004.0 4736 Accepted 100
10 2 4 0840.0 288944 Accepted 100
11 2 4 0752.0 371872 Accepted 100
12 2 4 0924.0 366372 Accepted 100
13 2 4 0520.0 207416 Accepted 100
14 2 4 0408.0 172824 Accepted 100
15 2 4 0540.0 230172 Accepted 100
16 2 4 0964.0 324736 Accepted 100
17 2 4 0472.0 227448 Accepted 100
18 2 4 0548.0 273856 Accepted 100
19 2 4 0644.0 304552 Accepted 100
20 3 4 0656.0 260844 Accepted 100
21 3 4 0588.0 189444 Accepted 100
22 3 4 0916.0 383300 Accepted 100
23 3 4 0780.0 342836 Accepted 100
24 3 4 0964.0 331932 Accepted 100
25 3 4 0496.0 159864 Accepted 100
26 3 4 0732.0 282944 Accepted 100
27 3 4 0648.0 281924 Accepted 100
28 3 4 0848.0 380936 Accepted 100
29 3 4 0744.0 286832 Accepted 100
30 4 0536.0 213320 Accepted 100
31 4 0716.0 374944 Accepted 100
32 4 0788.0 349940 Accepted 100
33 4 0596.0 205084 Accepted 100
34 4 0616.0 305300 Accepted 100
35 4 0532.0 238504 Accepted 100
36 4 0948.0 356396 Accepted 100
37 4 0708.0 371748 Accepted 100
38 4 0828.0 316372 Accepted 100
39 4 0776.0 244980 Accepted 100
40 4 0568.0 274120 Accepted 100
41 4 0600.0 301640 Accepted 100
42 4 0456.0 214408 Accepted 100
43 4 0528.0 242244 Accepted 100
44 4 0468.0 245892 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.49 KB
Back to Top