Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

31740
389016
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 (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0004.3 385704 4784 Accepted 100
1 1 4 0020.5 385704 5876 Accepted 100
2 1 4 0057.5 385704 5672 Accepted 100
3 1 4 0092.4 385704 6140 Accepted 100
4 1 4 0061.8 385704 5672 Accepted 100
5 1 4 0090.5 385704 7872 Accepted 100
6 1 4 0048.1 385704 4992 Accepted 100
7 1 4 0063.0 385704 7076 Accepted 100
8 1 4 0103.4 385704 8092 Accepted 100
9 1 4 0006.0 385704 4832 Accepted 100
10 2 4 1061.8 387684 290344 Accepted 100
11 2 4 1018.5 388304 373144 Accepted 100
12 2 4 1153.0 388212 367988 Accepted 100
13 2 4 0701.9 387012 208060 Accepted 100
14 2 4 0531.5 386892 173600 Accepted 100
15 2 4 0756.3 387144 230876 Accepted 100
16 2 4 1221.6 387948 326044 Accepted 100
17 2 4 0656.9 387300 228452 Accepted 100
18 2 4 0770.0 388304 274828 Accepted 100
19 2 4 0889.7 388304 305352 Accepted 100
20 3 4 0859.2 389804 264616 Accepted 100
21 3 4 0744.0 388540 192540 Accepted 100
22 3 4 1192.0 391860 389016 Accepted 100
23 3 4 1000.1 391180 348160 Accepted 100
24 3 4 1215.7 390932 337032 Accepted 100
25 3 4 0674.1 388100 162488 Accepted 100
26 3 4 0936.6 390164 287404 Accepted 100
27 3 4 0867.2 390152 286156 Accepted 100
28 3 4 1129.1 391700 386604 Accepted 100
29 3 4 0938.1 390208 291368 Accepted 100
30 4 0690.8 387156 214172 Accepted 100
31 4 1009.0 388276 376488 Accepted 100
32 4 1061.0 388304 350924 Accepted 100
33 4 0742.2 387024 205936 Accepted 100
34 4 0858.7 387816 306552 Accepted 100
35 4 0712.1 387144 239220 Accepted 100
36 4 1215.1 388080 357852 Accepted 100
37 4 0992.1 388304 372868 Accepted 100
38 4 1045.3 387916 317948 Accepted 100
39 4 0941.7 387464 246236 Accepted 100
40 4 0781.1 388304 275092 Accepted 100
41 4 0823.9 388304 302868 Accepted 100
42 4 0632.2 387192 215220 Accepted 100
43 4 0715.6 387324 243140 Accepted 100
44 4 0654.3 387144 246528 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.86 KB
Back to Top