VINITH & DEVA
CodeChefOpen on judge ↗
Vinith and Deva are set to play a huge knockout match and unfortunately, there is no referee to keep track of the points scored. $Vinith$ score is represented by A and $Deva$ score is represented by B. It was then decided to take scores from the audience of the match. The final score was decided based on the majority i.e, for each player the majority voted score is taken into consideration. If th
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