Compute transitive closure via Floyd-Warshall

Analyze the compute transitive closure via floyd-warshall.

Examples
Input: "test_input_1"
Output: "output_1"
Hints

Compute transitive closure via Floyd-Warshall

Analyze the compute transitive closure via floyd-warshall.