Practice makes us perfect Codechef Python Solution

 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 4 weeks as , and , output the number of weeks in which Chef met his target.

Input Format

There is a single line of input, with 4 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 

Total Prize Money Python Solution

Post a Comment

0 Comments