Katappa vs Bahubali
CodeChefOpen on judge ↗
Why did Kattapa killed Bahubali ? Is this question even relevant. The following is what actually happened that fateful day. Kattapa and Bahubali had a fight. At the start of the fight both kattapa and bahubali had same life. Both of them had same set of three attacks with intensities 2, 5, 7. The intensity is equal the damage done to the life of the opponent and life lost by the attacker. Same int
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