← All problemsSign in

Battle of Bests

In Byteland everyone decided to play a game of cricket. Champs of Champakpur won the toss and selected to bat first. Since it's Byteland, so they have their own rules. So the captain of Champs of Champakpur, Dr. Senky, decided he will use his knowledge of algortihms to predict which batsmen will score highest score at some given positions. In this game the runs scored by a batsmen on a ball is pre

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start