Python Assignment: In India McDonald's has the n number of customers and they are famous for their taste and quality so they plan to Organise the challenge for foody people. What is the challenge is?...


L


Python Assignment:<br>In India McDonald's has the n number of customers and they are famous for their taste and quality<br>so they plan to Organise the challenge for foody people. What is the challenge is?<br>you have taken a food challenge from the Chef and now you have to eat directly the Y burgers. You<br>will eat as follows:<br>At the first minute you will eat exactly the X burgers and every minute after that you will eat twice<br>the number of burgers you ate the minute before.<br>As you can get tired of food, Chef also lets you take a break from eating for one minute.<br>When you start eating again after a break, your food streaks are reset, which means that in the first<br>minute after the break you will eat X burgers and every minute after that you will eat the burgers<br>you ate twice the last minute.<br>Allow a1, a2, ., let it be your meal length in minutes. The cook needs to have all the ai different in<br>pairs.<br>Get the minimum number of minutes you need to eat Y burgers directly or decide that it is not<br>possible to do so.<br>

Extracted text: Python Assignment: In India McDonald's has the n number of customers and they are famous for their taste and quality so they plan to Organise the challenge for foody people. What is the challenge is? you have taken a food challenge from the Chef and now you have to eat directly the Y burgers. You will eat as follows: At the first minute you will eat exactly the X burgers and every minute after that you will eat twice the number of burgers you ate the minute before. As you can get tired of food, Chef also lets you take a break from eating for one minute. When you start eating again after a break, your food streaks are reset, which means that in the first minute after the break you will eat X burgers and every minute after that you will eat the burgers you ate twice the last minute. Allow a1, a2, ., let it be your meal length in minutes. The cook needs to have all the ai different in pairs. Get the minimum number of minutes you need to eat Y burgers directly or decide that it is not possible to do so.

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here