Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

23867
412552
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.4 409380 4712 Accepted 100
1 1 4 0020.5 409380 5908 Accepted 100
2 1 4 0061.7 409380 5592 Accepted 100
3 1 4 0094.0 409380 6156 Accepted 100
4 1 4 0065.8 409380 5648 Accepted 100
5 1 4 0097.3 409380 8104 Accepted 100
6 1 4 0052.3 409380 4960 Accepted 100
7 1 4 0063.5 409380 7300 Accepted 100
8 1 4 0111.4 409380 8220 Accepted 100
9 1 4 0005.8 409380 4732 Accepted 100
10 2 4 0849.8 411492 307876 Accepted 100
11 2 4 0591.8 412364 395964 Accepted 100
12 2 4 0938.0 412152 390856 Accepted 100
13 2 4 0465.8 410876 220648 Accepted 100
14 2 4 0399.1 410568 184096 Accepted 100
15 2 4 0471.7 410948 245132 Accepted 100
16 2 4 0941.1 411756 346140 Accepted 100
17 2 4 0438.7 411108 242400 Accepted 100
18 2 4 0426.1 412364 291744 Accepted 100
19 2 4 0550.6 412364 324248 Accepted 100
20 3 4 0768.0 413476 280692 Accepted 100
21 3 4 0655.7 412216 203804 Accepted 100
22 3 4 1086.6 415532 412552 Accepted 100
23 3 4 0924.7 414852 369120 Accepted 100
24 3 4 1126.7 414608 357400 Accepted 100
25 3 4 0568.4 411780 171980 Accepted 100
26 3 4 0850.5 413844 304712 Accepted 100
27 3 4 0766.2 413828 303216 Accepted 100
28 3 4 1034.2 415376 410056 Accepted 100
29 3 4 0844.9 413876 308780 Accepted 100
30 4 0557.7 410968 227264 Accepted 100
31 4 0593.7 412308 399564 Accepted 100
32 4 0656.8 412364 372880 Accepted 100
33 4 0564.8 410832 218404 Accepted 100
34 4 0511.5 411760 325492 Accepted 100
35 4 0447.6 410948 253980 Accepted 100
36 4 0910.7 412020 379904 Accepted 100
37 4 0578.0 412364 395932 Accepted 100
38 4 0844.1 411860 337588 Accepted 100
39 4 0777.0 411272 261260 Accepted 100
40 4 0452.5 412364 291740 Accepted 100
41 4 0480.5 412364 321256 Accepted 100
42 4 0389.3 411012 228480 Accepted 100
43 4 0450.5 411160 258020 Accepted 100
44 4 0376.7 410948 261692 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.8 KB
Back to Top