How to hack on tc?
More precisely: How to generate large inputs?
AtCoder Beginner G problems upsolving