C++ Project
$10-30 USD
Pagado a la entrega
Suppose you are in charge of a non-profit organization that receives donated gifts and distributes them to disadvantaged children. You are given a list of children with their ages.
For each gift, you are given the following information:
Retail price
Size of gift (cubic feet)
Range of suitable ages
Let: P = sum of retail prices of the gifts
N = total number of children
ei = | P/N – sum of retail prices for gifts given to child i |
You must minimize Σ ei for the N children, subject to the following constraints:
1. Each gift must be given to exactly one child.
2. No child may be given a gift that is not intended for their age.
3. Each child must receive at least one large or two medium sized gifts, where 1 ft3<=medium gift <= 2 ft3, and 2 ft3 < large gift.
4. The number of gifts received by each child can be no less than the average – 1 and no more than the average + 1.
Important:
The sum of the e_i values should be the absolute lowest value that is possible for the given input file.
Base code is attached.
Nº del proyecto: #13242745
Sobre el proyecto
Adjudicado a:
I am a passionate c++ coder ,responsable and very attentive to detail. I have a strong focus on productivity and quality ,working constantly on improving my own skills.
17 freelancers están ofertando un promedio de $31 por este trabajo
Hello, I am expert in java/c/c++/python/C# and i can deliver your task in the least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations Más
Hello, I am an expert in coding with more than 6 years of expertise. I can do this task with perfection and in minimum time. eagerly awaiting to hear from you. Thanks, Meenakshi
Hello, We have an offer for you that you can not reject! We will provide you a sample of your project without any milestone or job acceptance, if you like the sample award the job to us and turnaround time will b Más
I write software for physics and mathematics in C++, so this kind of project is the best one for me.
i have strong grip over c and i have done lot of work now a days working with jf 17 thunder simulator. thanks for reading my proposal.