Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

25020
381364
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 0024.0 26292 Accepted 100
1 1 4 0036.0 26424 Accepted 100
2 1 4 0076.0 28048 Accepted 100
3 1 4 0100.0 26372 Accepted 100
4 1 4 0076.0 28044 Accepted 100
5 1 4 0104.0 29296 Accepted 100
6 1 4 0064.0 25940 Accepted 100
7 1 4 0072.0 26616 Accepted 100
8 1 4 0120.0 29428 Accepted 100
9 1 4 0024.0 26412 Accepted 100
10 2 4 1396.0 227092 Accepted 100
11 2 4 0308.0 73944 Accepted 100
12 2 4 1740.0 280728 Accepted 100
13 2 4 0268.0 52380 Accepted 100
14 2 4 0564.0 115572 Accepted 100
15 2 4 0272.0 55468 Accepted 100
16 2 4 1416.0 210896 Accepted 100
17 2 4 0300.0 69972 Accepted 100
18 2 4 0216.0 60968 Accepted 100
19 2 4 0288.0 65296 Accepted 100
20 3 4 0864.0 261488 Accepted 100
21 3 4 0748.0 192900 Accepted 100
22 3 4 1248.0 381364 Accepted 100
23 3 4 1076.0 344576 Accepted 100
24 3 4 1252.0 333636 Accepted 100
25 3 4 0620.0 164800 Accepted 100
26 3 4 0984.0 284220 Accepted 100
27 3 4 0912.0 282820 Accepted 100
28 3 4 1204.0 380456 Accepted 100
29 3 4 0976.0 287956 Accepted 100
30 4 0808.0 174840 Accepted 100
31 4 0408.0 98580 Accepted 100
32 4 0348.0 71052 Accepted 100
33 4 0688.0 142884 Accepted 100
34 4 0368.0 85072 Accepted 100
35 4 0236.0 56684 Accepted 100
36 4 1180.0 228848 Accepted 100
37 4 0280.0 73840 Accepted 100
38 4 1172.0 266200 Accepted 100
39 4 0992.0 211476 Accepted 100
40 4 0228.0 61108 Accepted 100
41 4 0228.0 64552 Accepted 100
42 4 0256.0 67352 Accepted 100
43 4 0304.0 72708 Accepted 100
44 4 0176.0 57460 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
5.05 KB
Back to Top