import sys n, m = map(int, input().split(' ')) indegree = [0 for i in range(n + 1)] vis = [0 for i in range(n + 1)] indegree[0] = 100 edg = [[]for i in range(n + 1)] for zzz in range(m): x, y = map(int, input().split(' ')) indegree[y] += 1 edg[x].append(y) nodes = [] res = [] for i in...