Evaluate Division

Given a set of division equations of the form A / B = v (v is a positive real), and a list of queries C / D, compute the answer to each query. If it cannot be determined (a variable is unknown or ...

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: