Partying with Babu Bhai
CodeChefOpen on judge ↗
Problem description: As babu bhai has won the ACM ICPC world final by solving the last above question. Now he and his team mates are going for a party at a bar. After the party there are n baatleys left. Each baatley is described by two values i.e. the reamaining amount of beer (ai) and the volume of that baatley(bi). As babu bahiya want to carry the minimum number of remaining baatley with him.
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