Evaluate Division
You are given a set of division equations and their values, such as a / b = 2.0 and b / c = 3.0. Each variable is a string representing a non-zero real number.
Answer queries of the form x / y:...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
