Evaluate division
You get equations a / b = value between string variables, each standing for a positive real number, and a large batch of queries c / d. Answer every query from the equations, or report that it cannot be determined. Because the batch is large, think about what to precompute so each query is cheap.
No answer yet. Write the first one; the best answer gets endorsed.
