Practice makes us perfect Codechef Python Solution
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.
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.
Practice makes us perfect Codechef Python Solution
Code
0 Comments