Vinay Guthal's submission of Counting on a directed graph | CodeChef