Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

30164
479400
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 4724 Accepted 100
1 1 4 0020.0 6168 Accepted 100
2 1 4 0072.0 5920 Accepted 100
3 1 4 0108.0 6436 Accepted 100
4 1 4 0076.0 5844 Accepted 100
5 1 4 0116.0 8672 Accepted 100
6 1 4 0060.0 5148 Accepted 100
7 1 4 0072.0 7860 Accepted 100
8 1 4 0132.0 8884 Accepted 100
9 1 4 0004.0 4824 Accepted 100
10 2 4 1072.0 360964 Accepted 100
11 2 4 0956.0 465156 Accepted 100
12 2 4 1128.0 458312 Accepted 100
13 2 4 0660.0 258820 Accepted 100
14 2 4 0508.0 215464 Accepted 100
15 2 4 0700.0 287708 Accepted 100
16 2 4 1172.0 405900 Accepted 100
17 2 4 0608.0 283952 Accepted 100
18 2 4 0684.0 342308 Accepted 100
19 2 4 0804.0 380668 Accepted 100
20 3 4 0784.0 325932 Accepted 100
21 3 4 0724.0 236560 Accepted 100
22 3 4 1128.0 479400 Accepted 100
23 3 4 0964.0 429056 Accepted 100
24 3 4 1164.0 415108 Accepted 100
25 3 4 0608.0 199416 Accepted 100
26 3 4 0896.0 353800 Accepted 100
27 3 4 0828.0 352320 Accepted 100
28 3 4 1072.0 476556 Accepted 100
29 3 4 0924.0 358620 Accepted 100
30 4 0656.0 266204 Accepted 100
31 4 0944.0 468880 Accepted 100
32 4 0976.0 437640 Accepted 100
33 4 0740.0 255960 Accepted 100
34 4 0776.0 381684 Accepted 100
35 4 0668.0 297948 Accepted 100
36 4 1172.0 445572 Accepted 100
37 4 0908.0 465044 Accepted 100
38 4 1008.0 395680 Accepted 100
39 4 0948.0 305952 Accepted 100
40 4 0720.0 342452 Accepted 100
41 4 0756.0 377088 Accepted 100
42 4 0568.0 267812 Accepted 100
43 4 0676.0 302480 Accepted 100
44 4 0604.0 306916 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
4.21 KB
Back to Top