Back to Submissions List View Old Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

31846
415924
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.1 412700 4772 Accepted 100
1 1 4 0023.5 412700 5916 Accepted 100
2 1 4 0068.8 412700 5828 Accepted 100
3 1 4 0110.5 412700 6196 Accepted 100
4 1 4 0074.5 412700 5716 Accepted 100
5 1 4 0119.2 412700 8188 Accepted 100
6 1 4 0060.2 412700 5028 Accepted 100
7 1 4 0075.4 412700 7304 Accepted 100
8 1 4 0126.8 412700 8236 Accepted 100
9 1 4 0006.2 412700 4668 Accepted 100
10 2 4 1044.9 414812 310552 Accepted 100
11 2 4 1009.0 415684 399436 Accepted 100
12 2 4 1151.7 415472 394028 Accepted 100
13 2 4 0736.0 414196 222524 Accepted 100
14 2 4 0546.0 413888 185640 Accepted 100
15 2 4 0771.2 414268 247020 Accepted 100
16 2 4 1236.3 415076 348944 Accepted 100
17 2 4 0672.3 414428 244536 Accepted 100
18 2 4 0736.3 415684 294160 Accepted 100
19 2 4 0895.4 415684 326840 Accepted 100
20 3 4 0868.7 416800 282984 Accepted 100
21 3 4 0792.1 415540 205612 Accepted 100
22 3 4 1189.7 418856 415924 Accepted 100
23 3 4 0988.4 418172 372128 Accepted 100
24 3 4 1220.5 417932 360308 Accepted 100
25 3 4 0654.2 415104 173412 Accepted 100
26 3 4 0947.3 417164 307132 Accepted 100
27 3 4 0865.9 417148 305744 Accepted 100
28 3 4 1092.2 418696 413368 Accepted 100
29 3 4 0960.9 417204 311436 Accepted 100
30 4 0679.7 414288 229148 Accepted 100
31 4 0967.6 415628 402996 Accepted 100
32 4 1077.2 415684 375632 Accepted 100
33 4 0753.1 414152 220296 Accepted 100
34 4 0826.3 415080 328112 Accepted 100
35 4 0737.0 414268 256096 Accepted 100
36 4 1152.4 415340 383052 Accepted 100
37 4 0964.4 415684 399164 Accepted 100
38 4 1050.6 415180 340272 Accepted 100
39 4 0979.7 414596 263268 Accepted 100
40 4 0781.7 415684 294052 Accepted 100
41 4 0806.7 415684 323944 Accepted 100
42 4 0638.7 414332 230384 Accepted 100
43 4 0736.1 414480 260156 Accepted 100
44 4 0646.5 414268 263912 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
4.95 KB
Back to Top