You are given an array of variable pairs and an array of real numbers where each pair and number represent a division equation. You must answer queries that ask for the result of dividing one variable by another. If a query cannot be resolved, return -1.0.
Click Run to execute sample tests.