GREEDY MOVES DAY 02 – Q5

C. Adding Powers Problem Statement - https://codeforces.com/problemset/problem/1312/C We will use bitmasking to solve this question. Let's convert this number in k-system. Clearly, every element of a needs to be summation…

Continue Reading GREEDY MOVES DAY 02 – Q5