Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

29328
481764
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 4720 Accepted 100
1 1 4 0020.0 5928 Accepted 100
2 1 4 0072.0 5804 Accepted 100
3 1 4 0104.0 6300 Accepted 100
4 1 4 0072.0 5700 Accepted 100
5 1 4 0108.0 8532 Accepted 100
6 1 4 0056.0 4836 Accepted 100
7 1 4 0068.0 7556 Accepted 100
8 1 4 0128.0 8768 Accepted 100
9 1 4 0004.0 4560 Accepted 100
10 2 4 0980.0 360948 Accepted 100
11 2 4 0940.0 464744 Accepted 100
12 2 4 1096.0 458240 Accepted 100
13 2 4 0660.0 258528 Accepted 100
14 2 4 0492.0 215404 Accepted 100
15 2 4 0680.0 287388 Accepted 100
16 2 4 1104.0 405868 Accepted 100
17 2 4 0600.0 283800 Accepted 100
18 2 4 0696.0 341600 Accepted 100
19 2 4 0816.0 380028 Accepted 100
20 3 4 0776.0 327456 Accepted 100
21 3 4 0700.0 237776 Accepted 100
22 3 4 1092.0 481764 Accepted 100
23 3 4 0940.0 430956 Accepted 100
24 3 4 1180.0 417144 Accepted 100
25 3 4 0596.0 200344 Accepted 100
26 3 4 0872.0 355572 Accepted 100
27 3 4 0820.0 354020 Accepted 100
28 3 4 1024.0 478836 Accepted 100
29 3 4 0900.0 360440 Accepted 100
30 4 0620.0 266156 Accepted 100
31 4 0920.0 468892 Accepted 100
32 4 0976.0 436956 Accepted 100
33 4 0668.0 255748 Accepted 100
34 4 0780.0 381416 Accepted 100
35 4 0660.0 297548 Accepted 100
36 4 1080.0 445432 Accepted 100
37 4 0904.0 464408 Accepted 100
38 4 0968.0 395596 Accepted 100
39 4 0868.0 305836 Accepted 100
40 4 0712.0 341992 Accepted 100
41 4 0748.0 376444 Accepted 100
42 4 0568.0 267464 Accepted 100
43 4 0664.0 302364 Accepted 100
44 4 0596.0 306596 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.19 KB
Back to Top