Bounties
CodeChefOpen on judge ↗
In the New Era of Pirates, the Pirates are ranked by the Marines according to their notorious activities. More the rank, more dangerous is the pirate (Rank 0 means least dangerous). The bounties of the pirates are decided on the basis of their rank. Higher the rank, higher is their bounty. Sengoku, the Fleet Admiral is very fond of series so he decides to set bounties of the pirates according to
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