Graph Problem

Can someone please tell me how to solve this graph question without using Kosaraju’s Algorithm??
Here is the link of Problem Statement:
https://www.codechef.com/AUG16/problems/CHEFRRUN