[Solution] Practice makes us perfect CodeChef Solution | CodeChef Problem Solution 2022
Most programmers will tell you that one of the ways to improve your performance in competitive programming is to practice a lot of problems.
Our Chef took the above advice very seriously and decided to set a target for himself.
- Chef decides to solve at least problems every week for weeks.
Solution Click Below:- CLICK HERE
Given the number of problems he actually solved in each week over weeks as and , output the number of weeks in which Chef met his target.
Input Format
There is a single line of input, with integers and . These are the number of problems
solved by Chef in each of the weeks.
Output Format
Output a single integer in a single line - the number of weeks in which Chef solved at least problems.
No comments:
Post a Comment