Pokemon Tournament (Medium)
CodeChefOpen on judge ↗
The International pokemon training competition is being held in Codetown this year. There will be N competitors, each will bring 1 pokemon each. Each pokemon has a power rating p. In the tournament 2 competitors are put in a duel to carry out a round. If the pokemon rating of both pokemons is same, nothing happens. Else the competitor with pokemon having higer pokemon rating wins and the winn
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