cf/mirror

Powers Of Two

CF
1095C1400· specialist4s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
9 4
Output
YES
1 2 2 4
Sample 2of 4
Input
8 1
Output
YES
8
Sample 3of 4
Input
5 1
Output
NO
Sample 4of 4
Input
3 7
Output
NO
1095C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)