TopCoder SRM 579 div 1, 250, WA!