Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

32314
389012
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.1 385704 4792 Accepted 100
1 1 4 0020.5 385704 5848 Accepted 100
2 1 4 0058.2 385704 5744 Accepted 100
3 1 4 0090.3 385704 5916 Accepted 100
4 1 4 0064.3 385704 5704 Accepted 100
5 1 4 0107.7 385704 8012 Accepted 100
6 1 4 0047.2 385704 5060 Accepted 100
7 1 4 0062.8 385704 7148 Accepted 100
8 1 4 0102.4 385704 7980 Accepted 100
9 1 4 0005.9 385704 4816 Accepted 100
10 2 4 1082.6 387688 290184 Accepted 100
11 2 4 1043.0 388304 373288 Accepted 100
12 2 4 1168.6 388212 368064 Accepted 100
13 2 4 0720.6 387012 208024 Accepted 100
14 2 4 0544.2 386892 173660 Accepted 100
15 2 4 0779.7 387144 231000 Accepted 100
16 2 4 1270.4 387948 326032 Accepted 100
17 2 4 0681.4 387300 228460 Accepted 100
18 2 4 0766.1 388304 274812 Accepted 100
19 2 4 0909.5 388304 305440 Accepted 100
20 3 4 0875.5 389808 264712 Accepted 100
21 3 4 0770.1 388540 192540 Accepted 100
22 3 4 1229.5 391856 389012 Accepted 100
23 3 4 1021.9 391180 347928 Accepted 100
24 3 4 1236.9 390936 336864 Accepted 100
25 3 4 0630.9 388104 162324 Accepted 100
26 3 4 0934.3 390164 287260 Accepted 100
27 3 4 0885.6 390152 286200 Accepted 100
28 3 4 1147.1 391700 386624 Accepted 100
29 3 4 0963.6 390200 291192 Accepted 100
30 4 0713.4 387160 214336 Accepted 100
31 4 1034.1 388276 376544 Accepted 100
32 4 1132.4 388304 351120 Accepted 100
33 4 0747.7 387024 205980 Accepted 100
34 4 0845.2 387816 306572 Accepted 100
35 4 0727.1 387144 239172 Accepted 100
36 4 1220.3 388080 357912 Accepted 100
37 4 0991.5 388304 373008 Accepted 100
38 4 1062.2 387916 317948 Accepted 100
39 4 0936.9 387464 246136 Accepted 100
40 4 0810.4 388304 275008 Accepted 100
41 4 0826.7 388304 302868 Accepted 100
42 4 0648.7 387192 215392 Accepted 100
43 4 0720.3 387324 243132 Accepted 100
44 4 0672.2 387144 246432 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.75 KB
Back to Top