THE17105PATTERN
CodeChefOpen on judge ↗
Will is a curious student of your class and he is interested in making patterns. He has $N$ blocks of wood with him each having an integer $Ai$ value written on its surface. There is/are bad elements present in the blocks of wood. A bad element is an element after removal of which the blocks of wood make a pattern called $“The 17105 Pattern ”$ named by Wil himself. $“The 17105 Pattern ”$
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