Question: write simple code in python for beginners. Chef has invented 1-minute Instant Noodles. As the name suggests, each packet takes exactly 1 minute to cook.

write simple code in python for beginners. Chef has invented 1-minute Instant Noodles. As the name suggests, each packet takes exactly 1 minute to cook. Chef's restaurant has X stoves and only 1 packet can be cooked in a single stove at any minute. How many customers can Chef serve in Y minutes if each customer orders exactly 1 packet of noodles? Input Format The first and only line of input contains two space-separated integers X and Y Y — the number of stoves and the number of minutes, respectively. Output Format Print a single integer, the maximum number of customers Chef can serve in Y minutes Constraints 1≤X,Y≤1000

 

Style of code:  input values in a polynomial that requires a pow function or simple breakage of x.x.x.x.x for x^5

Step by Step Solution

3.57 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Python Input Get the values of X and Y sep... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!