Cricket
CodeChefOpen on judge ↗
Problem description. Hasil and his best friend Jayant were watching India v/s Pakistan T20 cricket match. India was the chasing side after losing the toss earlier that day. Hasil being a cricket enthusiast asked Jayant how many ways can India win this match. Knowing about your coding skills Jayant asks you make a program for this purpose. Winning here means atleast acheving the target score.
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