Zach Polansky's submission of Counting Graphs | CodeChef