← All problemsSign in

Ashoka the Meditator

Lately, Ashoka has been trying to meditate but the temperature at the temple is sometimes too hot or too cold. He just cannot concentrate. Fortunately, he has a temperature regulator but it takes the temperature only in Fahrenheit. Ashoka wants the temperature to be $\frac{p}{q}$°C. Find out the exact temperature $\frac{a}{b}$°F that he needs to input into the regulator. $a$ and $b$ should be such

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start