Hit or Miss
CodeChefOpen on judge ↗
Alan was given a complicated math problem by his sir for which it was very difficult to get the answer to precision, So his sir decided that his answer will be considered correct if its absolute or relative error doesn't exceed $10^{-6}$ Namely,If Alan's answer is an Real Number $a$ and Actual answer is an Real Number $b$, then Alan's answer is accepted, if So everytime Alan gets a correct answer
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.
Sign in to chat with the tutor and save your progress.
Sign in to start