Round E APAC Test 2017 Problem A. Diwali lightings (C++)
ProblemDiwaliisthefestivaloflights.Tocelebrateit,peopledecoratetheirhouseswithmulti-colorlightsandburstcrackers.EveryonelovesDiwali,andsodoesPari.Pariisveryfondoflights,andhastransfinitepowers,soshebu