[CF]Codeforces Round #529 (Div. 3) [CF]Codeforces Round #529 (Div. 3)
[CF]Codeforces Round #529 (Div. 3)
C. Powers Of Two
Description
A positive integer xx is called a power of two if it can be represented as x=2yx=2y, where yy is a non-negative integer. So, the powers of two are
You are given two positive integers nn and kk. Your task is to represent nn as the sum of exactlykk powers of two.
Input
The only line of the input contains two integers nn and kk (