Need Help With Atcoder problem
I am doing C-Maximal Value. How would you construct the greedy algorithm? Thanks in advance.