Solutions for SRM 620 DIV 2 copied from contest folder.