Atcode Regular Contest 101
Can anyone share their approach for the problem https://atcoder.jp/contests/arc101/tasks/arc101_a?
Codeforces Round 946 Solution Discussion