Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

25556
413372
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.0 409380 4800 Accepted 100
1 1 4 0020.2 409380 6040 Accepted 100
2 1 4 0061.7 409380 5820 Accepted 100
3 1 4 0094.8 409380 6016 Accepted 100
4 1 4 0066.3 409380 5704 Accepted 100
5 1 4 0101.0 409380 7996 Accepted 100
6 1 4 0051.2 409380 5068 Accepted 100
7 1 4 0064.4 409380 7188 Accepted 100
8 1 4 0118.6 409380 8216 Accepted 100
9 1 4 0005.6 409380 4792 Accepted 100
10 2 4 0908.5 411520 308104 Accepted 100
11 2 4 0608.7 412364 396108 Accepted 100
12 2 4 0994.1 412152 390844 Accepted 100
13 2 4 0459.2 410876 220776 Accepted 100
14 2 4 0416.1 410568 184160 Accepted 100
15 2 4 0481.3 410948 245288 Accepted 100
16 2 4 0976.0 411756 346288 Accepted 100
17 2 4 0426.7 411108 242488 Accepted 100
18 2 4 0441.4 412364 291680 Accepted 100
19 2 4 0554.2 412364 324124 Accepted 100
20 3 4 0840.9 414008 281312 Accepted 100
21 3 4 0724.7 412600 204400 Accepted 100
22 3 4 1203.1 416316 413372 Accepted 100
23 3 4 1044.1 415552 369916 Accepted 100
24 3 4 1232.8 415284 358112 Accepted 100
25 3 4 0605.8 412104 172436 Accepted 100
26 3 4 0943.0 414412 305260 Accepted 100
27 3 4 0883.1 414404 304132 Accepted 100
28 3 4 1165.5 416156 410708 Accepted 100
29 3 4 0946.5 414464 309432 Accepted 100
30 4 0627.2 410992 227232 Accepted 100
31 4 0631.9 412308 399832 Accepted 100
32 4 0676.3 412364 372884 Accepted 100
33 4 0611.6 410832 218584 Accepted 100
34 4 0539.2 411760 325500 Accepted 100
35 4 0451.5 410948 253908 Accepted 100
36 4 0965.8 412020 379812 Accepted 100
37 4 0581.5 412364 396084 Accepted 100
38 4 0914.6 411908 337656 Accepted 100
39 4 0837.8 411308 261324 Accepted 100
40 4 0482.6 412364 291756 Accepted 100
41 4 0505.3 412364 321256 Accepted 100
42 4 0409.6 411012 228552 Accepted 100
43 4 0494.3 411160 258128 Accepted 100
44 4 0383.1 410948 261720 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.89 KB
Back to Top