B. Base K

Problem Name:
B. Base K
Site:AtCoder
Links:
Tags: