Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

24000
363820
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 0004.0 8708 Accepted 100
1 1 4 0024.0 8716 Accepted 100
2 1 4 0056.0 10456 Accepted 100
3 1 4 0080.0 9020 Accepted 100
4 1 4 0060.0 10308 Accepted 100
5 1 4 0088.0 11620 Accepted 100
6 1 4 0044.0 8388 Accepted 100
7 1 4 0052.0 8960 Accepted 100
8 1 4 0100.0 11960 Accepted 100
9 1 4 0008.0 8728 Accepted 100
10 2 4 1360.0 209496 Accepted 100
11 2 4 0292.0 56208 Accepted 100
12 2 4 1680.0 263200 Accepted 100
13 2 4 0252.0 34876 Accepted 100
14 2 4 0548.0 97856 Accepted 100
15 2 4 0248.0 37852 Accepted 100
16 2 4 1360.0 193508 Accepted 100
17 2 4 0284.0 52492 Accepted 100
18 2 4 0192.0 43564 Accepted 100
19 2 4 0260.0 47504 Accepted 100
20 3 4 0844.0 243980 Accepted 100
21 3 4 0724.0 175348 Accepted 100
22 3 4 1228.0 363820 Accepted 100
23 3 4 1048.0 327120 Accepted 100
24 3 4 1224.0 315960 Accepted 100
25 3 4 0596.0 147128 Accepted 100
26 3 4 0956.0 266644 Accepted 100
27 3 4 0908.0 265164 Accepted 100
28 3 4 1192.0 362888 Accepted 100
29 3 4 0972.0 270340 Accepted 100
30 4 0792.0 157272 Accepted 100
31 4 0372.0 80796 Accepted 100
32 4 0332.0 53536 Accepted 100
33 4 0664.0 125440 Accepted 100
34 4 0336.0 67544 Accepted 100
35 4 0220.0 38960 Accepted 100
36 4 1132.0 211264 Accepted 100
37 4 0264.0 56336 Accepted 100
38 4 1140.0 248516 Accepted 100
39 4 0952.0 193972 Accepted 100
40 4 0208.0 43620 Accepted 100
41 4 0212.0 47176 Accepted 100
42 4 0240.0 49744 Accepted 100
43 4 0296.0 55072 Accepted 100
44 4 0156.0 39856 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
5.05 KB
Back to Top