Needed help with a problem..
I am getting TLE in this problem.Help me out..!!! Problem Link
Colin X Sam X Shayan | Easy Problems Duel | NAC Warmup #1
Codeforces Round 946 Solution Discussion