Counting the Counts

Salam is a school teacher. He takes ICT of class 8th. The head of the school wants to know how many …

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

@shojib_mu can you help to find what’s causing these submissions Runtime Error at 3rd case?
https://toph.co/s/418829
https://toph.co/s/418798