Binary Cafe solution codeforces
Binary Cafe solution codeforces Once upon a time, Toma found himself in a binary cafe. It is a very popular and unusual place. The cafe offers visitors k� different delicious desserts. The desserts are numbered from 00 to k−1�−1. The cost of the i�-th dessert is 2i2� coins, because it is a binary cafe! Toma is willing to spend no more than n� coins on … Read more