cf/mirror

Buying Jewels

CF
1951D2000· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
7 3
6 4
255 8
Output
YES
10
2 3 4 5 6 7 8 9 10 11
NO
YES
8
128 64 32 16 8 4 2 1
1951D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)