Just a comment on problem design. I feel problem statements should make sense. I know nothing of cricket. Perhaps that is what I reveal by my comment.
Does it make sense to know about a rate per 20 balls? Is that how hitters are compared in cricket? To me, it seems a little odd, since an "over" is 6 balls and 20 is not a multiple of 6. Is an "over" really always 6 balls, or is it as many as 6 balls, often being cut short by a "hit"?
In this case, there is enough information to solve the problem, whether it makes sense or not. Does the question make sense? That's all I'm wondering.
In American baseball, a batting average is calculated, effectively:
hits / 1000 at-bats
I do not know why 1000 was selected, except that it is normally large enough to differentiate most hitters from most other hitters. 20 seems like an awfully small number, as it provides only 20 different hitter ratings. Maybe that's good, fine, or simply traditional.
I am rambling a bit quite on purpose. I want to emphasize thinking while reading and solving problems. Leave no stone unturned! It's never only about the arithmetic.