Codeforces Round #337 (Div. 2) 610B Vika and Squares(脑洞)
B.VikaandSquarestimelimitpertest2secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputVikahasnjarswithpaintsofdistinctcolors.Allthejarsarenumberedfrom1tonandthei-thjarcontainsail