Breaking Bad
CodeChefOpen on judge ↗
# Breaking BAD Walter White aka Heisenberg has to help Jessie, Jessie has been kidnapped by the cartel. Heisenberg has devised a plan to save Jessie from Cartel and he requires a chemical solution to make the plan successful. Cartel knows that Heisenberg is very good with chemicals and chemistry in general, so they have removed all the tags from the chemicals. Heisenberg has n mixtures in front
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