Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

22400
390908
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 0268.0 379672 Accepted 100
1 1 4 0288.0 379620 Accepted 100
2 1 4 0344.0 379640 Accepted 100
3 1 4 0380.0 379656 Accepted 100
4 1 4 0352.0 379656 Accepted 100
5 1 4 0380.0 379692 Accepted 100
6 1 4 0340.0 379696 Accepted 100
7 1 4 0348.0 379612 Accepted 100
8 1 4 0404.0 379612 Accepted 100
9 1 4 0284.0 379560 Accepted 100
10 2 4 0708.0 384564 Accepted 100
11 2 4 0424.0 384868 Accepted 100
12 2 4 0664.0 385852 Accepted 100
13 2 4 0480.0 382344 Accepted 100
14 2 4 0428.0 382428 Accepted 100
15 2 4 0468.0 382852 Accepted 100
16 2 4 0740.0 385052 Accepted 100
17 2 4 0392.0 383308 Accepted 100
18 2 4 0368.0 383292 Accepted 100
19 2 4 0440.0 383936 Accepted 100
20 3 4 0636.0 387180 Accepted 100
21 3 4 0648.0 385072 Accepted 100
22 3 4 0764.0 390908 Accepted 100
23 3 4 0628.0 389644 Accepted 100
24 3 4 0860.0 389328 Accepted 100
25 3 4 0580.0 384308 Accepted 100
26 3 4 0688.0 387876 Accepted 100
27 3 4 0596.0 387980 Accepted 100
28 3 4 0660.0 390876 Accepted 100
29 3 4 0688.0 387964 Accepted 100
30 4 0516.0 383260 Accepted 100
31 4 0404.0 385780 Accepted 100
32 4 0524.0 384596 Accepted 100
33 4 0548.0 383044 Accepted 100
34 4 0400.0 384784 Accepted 100
35 4 0424.0 382812 Accepted 100
36 4 0660.0 385596 Accepted 100
37 4 0384.0 384976 Accepted 100
38 4 0648.0 385208 Accepted 100
39 4 0704.0 383920 Accepted 100
40 4 0400.0 383292 Accepted 100
41 4 0380.0 383976 Accepted 100
42 4 0384.0 383084 Accepted 100
43 4 0432.0 383640 Accepted 100
44 4 0344.0 382992 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.27 KB
Back to Top