Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

24594
389132
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.6 385704 4836 Accepted 100
1 1 4 0020.3 385704 6032 Accepted 100
2 1 4 0058.7 385704 5888 Accepted 100
3 1 4 0090.4 385704 6196 Accepted 100
4 1 4 0067.6 385704 5772 Accepted 100
5 1 4 0090.4 385704 8136 Accepted 100
6 1 4 0049.1 385704 5220 Accepted 100
7 1 4 0063.2 385704 7268 Accepted 100
8 1 4 0102.6 385704 8060 Accepted 100
9 1 4 0006.2 385704 4888 Accepted 100
10 2 4 0853.6 387688 290472 Accepted 100
11 2 4 0743.8 388304 373204 Accepted 100
12 2 4 0919.8 388212 368188 Accepted 100
13 2 4 0534.3 387012 208244 Accepted 100
14 2 4 0425.5 386892 173772 Accepted 100
15 2 4 0573.9 387144 231328 Accepted 100
16 2 4 0992.9 387948 326284 Accepted 100
17 2 4 0500.5 387300 228572 Accepted 100
18 2 4 0551.6 388304 274724 Accepted 100
19 2 4 0671.3 388304 305612 Accepted 100
20 3 4 0656.3 389808 264928 Accepted 100
21 3 4 0603.9 388540 192720 Accepted 100
22 3 4 0892.2 391856 389132 Accepted 100
23 3 4 0747.2 391176 348180 Accepted 100
24 3 4 0983.6 390932 337172 Accepted 100
25 3 4 0501.5 388100 162536 Accepted 100
26 3 4 0739.4 390164 287520 Accepted 100
27 3 4 0670.5 390152 286276 Accepted 100
28 3 4 0843.4 391704 386716 Accepted 100
29 3 4 0762.0 390204 291188 Accepted 100
30 4 0566.5 387164 214336 Accepted 100
31 4 0744.3 388276 376660 Accepted 100
32 4 0797.1 388304 351020 Accepted 100
33 4 0624.0 387024 206024 Accepted 100
34 4 0624.1 387816 306628 Accepted 100
35 4 0551.6 387144 239384 Accepted 100
36 4 0949.1 388080 358044 Accepted 100
37 4 0719.5 388304 373140 Accepted 100
38 4 0837.5 387916 318088 Accepted 100
39 4 0791.3 387464 246388 Accepted 100
40 4 0572.8 388304 275092 Accepted 100
41 4 0604.1 388304 302664 Accepted 100
42 4 0461.7 387192 215464 Accepted 100
43 4 0549.5 387324 243272 Accepted 100
44 4 0480.3 387144 246764 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.86 KB
Back to Top