Fallacy of Wasseypur
CodeChefOpen on judge ↗
Rohan has just watched the movie "GANGS OF WASSEYPUR" and wants to learn more about the town. He discovers that Sardar Khan and Ramadhir Singh are fighting for control of the town and will stop at nothing to completely eliminate the other. To accomplish this, they have hired a small army for themselves comprising of **n and m personnel respectively**. Each personnel, irrespective of their allegien
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