Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

17828
382732
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 4108 Accepted 100
1 1 4 0008.0 5236 Accepted 100
2 1 4 0024.0 5052 Accepted 100
3 1 4 0028.0 5372 Accepted 100
4 1 4 0028.0 5020 Accepted 100
5 1 4 0044.0 7344 Accepted 100
6 1 4 0016.0 4368 Accepted 100
7 1 4 0020.0 6588 Accepted 100
8 1 4 0052.0 7416 Accepted 100
9 1 4 0004.0 4224 Accepted 100
10 2 4 0672.0 288404 Accepted 100
11 2 4 0576.0 371376 Accepted 100
12 2 4 0724.0 365992 Accepted 100
13 2 4 0356.0 207088 Accepted 100
14 2 4 0316.0 172396 Accepted 100
15 2 4 0376.0 229652 Accepted 100
16 2 4 0740.0 324220 Accepted 100
17 2 4 0344.0 226972 Accepted 100
18 2 4 0404.0 273456 Accepted 100
19 2 4 0476.0 304176 Accepted 100
20 3 4 0472.0 260248 Accepted 100
21 3 4 0440.0 188952 Accepted 100
22 3 4 0656.0 382732 Accepted 100
23 3 4 0560.0 342484 Accepted 100
24 3 4 0716.0 331612 Accepted 100
25 3 4 0368.0 159352 Accepted 100
26 3 4 0520.0 282644 Accepted 100
27 3 4 0484.0 281360 Accepted 100
28 3 4 0612.0 380296 Accepted 100
29 3 4 0544.0 286504 Accepted 100
30 4 0424.0 212676 Accepted 100
31 4 0556.0 374440 Accepted 100
32 4 0564.0 349568 Accepted 100
33 4 0464.0 204492 Accepted 100
34 4 0444.0 304800 Accepted 100
35 4 0392.0 238028 Accepted 100
36 4 0720.0 355952 Accepted 100
37 4 0532.0 371372 Accepted 100
38 4 0644.0 315868 Accepted 100
39 4 0584.0 244440 Accepted 100
40 4 0420.0 273796 Accepted 100
41 4 0444.0 301224 Accepted 100
42 4 0340.0 214012 Accepted 100
43 4 0372.0 241720 Accepted 100
44 4 0348.0 245256 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.88 KB
Back to Top