How to hack on tc?
More precisely: How to generate large inputs?
Colin X Sam X Shayan | Easy Problems Duel | NAC Warmup #1
Codeforces Round 946 Solution Discussion