Game Of Ingredients
CodeChefOpen on judge ↗
Samuel Tarly wants to be a maester so that he could help his brothers at Nights Watch. But in order to do so he has to pass an exam given by the archmaesters. During the exam he was given a set of ingredients (may or may not be unique) in a particular order. His task was to prepare a special antidote, but he forgot how many ingredients is needed. The only thing he remembers is that he needs to pic
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