GATE 2021 set2 Computer Science and Information Technology question: In a directed acyclic graph with a source vertex s, the quality-score of a directed path…
In a directed acyclic graph with a source vertex s, the quality-score of a directed path is defined to be the product of the weights of the edges on the path. Further, for a vertex other than s, the quality-score of is defined to be the maximum among the quality-scores of all the paths from s to . The quality-score of s is assumed to be 1.

The sum of the quality-scores of all the vertices in the graph shown above is ______.
Show answer
Official answer: 929