Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

37360
507068
Wrong Answer
0

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $n\leq 500$ 0 / 16
2 10~19 對於所有的 $i=1,2\dots,n-1$,皆有 $p_i=1$。 0 / 31
3 20~29 對於所有的 $i=1,2,\dots,n-1$,皆有 $u_i=i, v_i=i+1$。 0 / 37
4 0~44 無額外限制。 0 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 0004.1 503904 4860 Accepted 100
1 1 4 0031.5 503904 6208 Accepted 100
2 1 4 0091.6 503904 5940 Wrong Answer 0
3 1 4 0154.1 503904 6468 Accepted 100
4 1 4 0098.8 503904 5908 Wrong Answer 0
5 1 4 0141.9 503904 9068 Wrong Answer 0
6 1 4 0084.1 503904 5100 Accepted 100
7 1 4 0105.7 503904 7880 Wrong Answer 0
8 1 4 0160.3 503904 9032 Wrong Answer 0
9 1 4 0006.9 503904 4944 Wrong Answer 0
10 2 4 1229.1 506016 378864 Wrong Answer 0
11 2 4 1202.5 506888 487652 Accepted 100
12 2 4 1327.4 506676 480948 Wrong Answer 0
13 2 4 0870.4 505400 271404 Accepted 100
14 2 4 0615.9 505092 226064 Wrong Answer 0
15 2 4 0923.8 505472 301608 Accepted 100
16 2 4 1387.7 506280 425928 Wrong Answer 0
17 2 4 0777.2 505632 297860 Wrong Answer 0
18 2 4 0885.5 506888 358880 Accepted 100
19 2 4 1059.5 506888 398860 Accepted 100
20 3 4 0997.0 508000 344664 Wrong Answer 0
21 3 4 0859.8 506744 250048 Wrong Answer 0
22 3 4 1390.1 510056 507068 Wrong Answer 0
23 3 4 1152.1 509380 453616 Wrong Answer 0
24 3 4 1468.0 509136 439116 Wrong Answer 0
25 3 4 0725.6 506304 210836 Wrong Answer 0
26 3 4 1094.6 508364 374156 Wrong Answer 0
27 3 4 1027.1 508356 372592 Wrong Answer 0
28 3 4 1300.1 509904 503996 Wrong Answer 0
29 3 4 1131.9 508404 379268 Wrong Answer 0
30 4 0787.5 505492 279268 Wrong Answer 0
31 4 1189.2 506832 492028 Wrong Answer 0
32 4 1257.4 506888 458988 Accepted 100
33 4 0864.4 505356 268320 Wrong Answer 0
34 4 0992.4 506284 400432 Wrong Answer 0
35 4 0867.8 505472 312244 Accepted 100
36 4 1384.4 506544 467628 Wrong Answer 0
37 4 1160.4 506888 487584 Accepted 100
38 4 1193.1 506380 415076 Wrong Answer 0
39 4 1088.3 505800 321120 Wrong Answer 0
40 4 0925.8 506888 359004 Accepted 100
41 4 0967.8 506888 395224 Accepted 100
42 4 0740.6 505536 280772 Wrong Answer 0
43 4 0865.5 505684 317220 Wrong Answer 0
44 4 0770.8 505472 321792 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.05 KB
Back to Top