Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

In problem 6, can I assume that all si and pi are integers?

assume integers Pi problem SI
0
Posted

In problem 6, can I assume that all si and pi are integers?

0

No, the intention of the problem is that they can be arbitrary positive reals. However, as a first step go ahead and assume they are integers. If you correctly solve this (that is, you give a valid proof of correctness, give the most efficient algorithm possible and correctly analyze the time complexity) then you’ll receive 9 out of the 10 possible points. There is a 2-3 line addition you can then add that will handle the case when the start times and processing times could be non-integral.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123