ljl's submission of Sereja and Graph | CodeChef