Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

31720
389008
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.2 385740 4796 Accepted 100
1 1 4 0020.1 385740 5916 Accepted 100
2 1 4 0057.2 385740 5752 Accepted 100
3 1 4 0090.0 385740 6208 Accepted 100
4 1 4 0069.8 385740 5572 Accepted 100
5 1 4 0095.1 385740 7972 Accepted 100
6 1 4 0048.4 385740 4956 Accepted 100
7 1 4 0065.0 385740 7156 Accepted 100
8 1 4 0105.1 385740 7944 Accepted 100
9 1 4 0005.9 385740 4804 Accepted 100
10 2 4 1060.3 387720 290244 Accepted 100
11 2 4 1025.0 388340 373224 Accepted 100
12 2 4 1160.3 388248 368052 Accepted 100
13 2 4 0708.9 387048 208044 Accepted 100
14 2 4 0529.1 386928 173548 Accepted 100
15 2 4 0771.8 387180 230948 Accepted 100
16 2 4 1218.3 387984 326104 Accepted 100
17 2 4 0653.5 387336 228392 Accepted 100
18 2 4 0772.8 388340 274684 Accepted 100
19 2 4 0916.9 388340 305376 Accepted 100
20 3 4 0861.6 389840 264808 Accepted 100
21 3 4 0736.6 388576 192476 Accepted 100
22 3 4 1174.1 391896 389008 Accepted 100
23 3 4 0988.9 391212 348096 Accepted 100
24 3 4 1201.4 390968 336952 Accepted 100
25 3 4 0617.4 388144 162388 Accepted 100
26 3 4 0935.2 390204 287172 Accepted 100
27 3 4 0863.6 390192 286056 Accepted 100
28 3 4 1108.5 391740 386600 Accepted 100
29 3 4 0960.1 390240 291244 Accepted 100
30 4 0692.1 387200 214216 Accepted 100
31 4 1034.0 388312 376612 Accepted 100
32 4 1061.8 388340 351096 Accepted 100
33 4 0742.5 387060 205920 Accepted 100
34 4 0833.3 387852 306616 Accepted 100
35 4 0724.6 387180 239168 Accepted 100
36 4 1213.2 388116 357812 Accepted 100
37 4 0980.8 388340 373080 Accepted 100
38 4 1041.1 387956 318020 Accepted 100
39 4 0951.4 387500 246200 Accepted 100
40 4 0793.1 388340 275092 Accepted 100
41 4 0818.6 388340 302756 Accepted 100
42 4 0624.4 387228 215404 Accepted 100
43 4 0726.0 387360 243204 Accepted 100
44 4 0657.7 387180 246512 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.75 KB
Back to Top