#B. 子集(subset)

    Type: Default 1000ms 256MiB

子集(subset)

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

image

输入样例

4 

4 4 

4 1 

12 3 

9 3

输出样例

No 

Yes 

1 2 3 4 

Yes 

1 6 8 11 

4 3 7 12 

2 5 10 9 

Yes 

1 5 9 

2 7 6 

3 8 4

image image

提高组测试3

Not Attended
Status
Done
Rule
IOI
Problem
4
Start at
2023-8-16 0:00
End at
2023-8-20 4:00
Duration
100 hour(s)
Host
Partic.
6