Maciej Dulęba's submission of Strings and Graphs | CodeChef