← All problemsSign in

Chef and his love

Chef is in love with his girlfriend chefina.Now,after being in relationship for so many years chef tries to propose chefina for marriage. Chefina being a mathematics lover ,gives a equation of many-one function to chef and put a condition that she will marry him only when he will be able to find the roots of the given function in a given range. $f(x)=(x-k_{1})*(x-k_{2})*(x-k_{3})*(x-k_{4})

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