Save Captain Jack Sparrow
CodeChefOpen on judge ↗
Problem description. The Famous pirate Captain jack sparrow is known for his wit and smartness. once he was captured by a group of pirate called TheKeeron and put in the jail with so many other pirates. the next day they have to fight a competition in which the pirate who finds the Key block minimaly will get freedom from the jail. each of the prisoners will be thrown in a plane of dimension N
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