Drona and his Greatest Warrior
CodeChefOpen on judge ↗
Guru Dronacharya is selecting the greatest warrior in his academy, and the final competition is between Arjun and Duryodhan. Both of them are equally skilled and hence, Dronacharya has decided to select the winner by voting. Although everyone can vote for their favourite candidate, no one can vote for both the candidates. During selection, packs of votes are formed which went to the same candidat
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