← All problemsSign in

Breaking Production

Mr. White wants to improve the quality of his methamphetamine among his consumers to boost his production. He has noticed that if he can increase the hardness($H$) and the fragrance ($F$) of his product it will become more popular. The initial hardness is $X$ and fragrance is 0. He has two chemicals labelled $1$ and $2$ to add in his formula in order to increase the $H$ and $F$. - Adding $1$:

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