Lions of Mirzapur
CodeChefOpen on judge ↗
Kaleen Bhaiya is impressed with Guddu and Bablu so he decides to give them some bullets for their guns. He gives $N$ boxes of bullets (Numbered from 1 to N) to guddu and $N$ boxes of bullets(Numbered from 1 to N) to Bablu. Now Kaleen Bhaiya puts some conditions: 1. Guddu can take maximum $A$ boxes of bullets from his set of boxes and Bablu can take maximum $B$ boxes of bullets from his set of box
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