Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

24980
366936
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 0008.0 10652 Accepted 100
1 1 4 0020.0 10784 Accepted 100
2 1 4 0060.0 12548 Accepted 100
3 1 4 0088.0 10956 Accepted 100
4 1 4 0068.0 12324 Accepted 100
5 1 4 0088.0 13584 Accepted 100
6 1 4 0052.0 10292 Accepted 100
7 1 4 0060.0 10912 Accepted 100
8 1 4 0108.0 13884 Accepted 100
9 1 4 0008.0 10756 Accepted 100
10 2 4 1448.0 211732 Accepted 100
11 2 4 0316.0 58672 Accepted 100
12 2 4 1804.0 265392 Accepted 100
13 2 4 0268.0 37024 Accepted 100
14 2 4 0556.0 99832 Accepted 100
15 2 4 0272.0 40172 Accepted 100
16 2 4 1408.0 195600 Accepted 100
17 2 4 0308.0 54400 Accepted 100
18 2 4 0220.0 45896 Accepted 100
19 2 4 0284.0 49720 Accepted 100
20 3 4 0856.0 246808 Accepted 100
21 3 4 0736.0 177820 Accepted 100
22 3 4 1236.0 366936 Accepted 100
23 3 4 1084.0 330112 Accepted 100
24 3 4 1252.0 319028 Accepted 100
25 3 4 0600.0 149604 Accepted 100
26 3 4 0964.0 269348 Accepted 100
27 3 4 0908.0 268048 Accepted 100
28 3 4 1192.0 366100 Accepted 100
29 3 4 0960.0 273252 Accepted 100
30 4 0824.0 159360 Accepted 100
31 4 0392.0 83208 Accepted 100
32 4 0352.0 55704 Accepted 100
33 4 0692.0 127368 Accepted 100
34 4 0360.0 69816 Accepted 100
35 4 0232.0 41184 Accepted 100
36 4 1224.0 213600 Accepted 100
37 4 0280.0 58660 Accepted 100
38 4 1200.0 251012 Accepted 100
39 4 1016.0 196192 Accepted 100
40 4 0224.0 45884 Accepted 100
41 4 0224.0 49424 Accepted 100
42 4 0252.0 51924 Accepted 100
43 4 0308.0 57356 Accepted 100
44 4 0168.0 42260 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
5.13 KB
Back to Top