Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

24639
388364
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.9 385740 4988 Accepted 100
1 1 4 0040.0 385740 6088 Accepted 100
2 1 4 0082.7 385740 5952 Accepted 100
3 1 4 0100.3 385740 6192 Accepted 100
4 1 4 0075.2 385740 5836 Accepted 100
5 1 4 0099.2 385740 8100 Accepted 100
6 1 4 0055.5 385740 5056 Accepted 100
7 1 4 0067.6 385740 7372 Accepted 100
8 1 4 0117.0 385740 8224 Accepted 100
9 1 4 0006.6 385740 5036 Accepted 100
10 2 4 0843.7 387852 290552 Accepted 100
11 2 4 0756.7 388724 373240 Accepted 100
12 2 4 0904.8 388512 368444 Accepted 100
13 2 4 0536.0 387236 208224 Accepted 100
14 2 4 0421.4 386928 173880 Accepted 100
15 2 4 0575.4 387308 231264 Accepted 100
16 2 4 0972.4 388116 326424 Accepted 100
17 2 4 0484.6 387468 228776 Accepted 100
18 2 4 0543.1 388724 275208 Accepted 100
19 2 4 0669.1 388724 305720 Accepted 100
20 3 4 0664.7 389312 264392 Accepted 100
21 3 4 0617.9 388200 192344 Accepted 100
22 3 4 0929.8 391112 388364 Accepted 100
23 3 4 0751.7 390520 347640 Accepted 100
24 3 4 1014.8 390292 336584 Accepted 100
25 3 4 0512.4 387824 162208 Accepted 100
26 3 4 0743.7 389624 286928 Accepted 100
27 3 4 0668.8 389616 285668 Accepted 100
28 3 4 0836.9 390964 385932 Accepted 100
29 3 4 0768.3 389656 290916 Accepted 100
30 4 0554.8 387324 214540 Accepted 100
31 4 0730.9 388668 376908 Accepted 100
32 4 0805.6 388724 351356 Accepted 100
33 4 0607.4 387192 206196 Accepted 100
34 4 0625.7 388120 306960 Accepted 100
35 4 0545.1 387308 239512 Accepted 100
36 4 0930.3 388380 358256 Accepted 100
37 4 0716.0 388724 373396 Accepted 100
38 4 0826.7 388176 318216 Accepted 100
39 4 0780.0 387600 246588 Accepted 100
40 4 0571.5 388724 275520 Accepted 100
41 4 0595.1 388724 302780 Accepted 100
42 4 0461.0 387372 215608 Accepted 100
43 4 0546.6 387520 243476 Accepted 100
44 4 0477.3 387308 246920 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.33 KB
Back to Top