Can you share your idea in this problem?
I'm trying to solve this problem about 3 days.Can you share your idea for subtasks.
Colin X Sam X Shayan | Easy Problems Duel | NAC Warmup #1
Codeforces Round 946 Solution Discussion