Box

Completado Publicado Jul 6, 2002 Pagado a la entrega
Completado Pagado a la entrega

THANK YOU EVERYONE FOR BIDDING ON MY PROJECT. IT HAS BEEN HARD TO CHOOSE A CODER. I'LL BE POSTING MORE PROJECTS. THANX **RE-POST**We manufacture boxes using a machine that make the size of each box based on an a--p random generator. The 2 dimensions of the base of the first box are a and a^2, and second box has dimensions a^3 and a^4, etc. with everything done mod p. We are concerned about whether we can "nest" a lot of boxes so that storage won't be a problem. A sequence of boxes can be nested provided that each successive box can be oriented so that its two dimensions are less than or equal to the two dimensions of its predecessor. So a box of size 2x9 can be nested in a box of size 9x4, but cannot be nested in a box of size 8x7. Create a class Nester that contains a method (function) maxNest that is given a,p and n indicating n/2 boxes that will be manufactured and that returns the largest number of boxes that can be nested in one stack. DEFINITION: Class: Nester Method Signature(function): int maxNest (int a, int p, int n); Your method may assume the following as preconditions: -a and p are between 1 and 2,000,000,000 inclusive and a*p<=2,000,000,000 (so no overflow will occur) -n is an even integer between 1 and 2,000,000,000 inclusive. Here's a test program: int main(){ cout<<" a p n: "; int a,p,n; cin>>a>>p>>n; Nester nester; cout<<"longest nesting is " <<[url removed, login to view](a,p,n)<<endl; return 0;}

## Deliverables

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. will be asking you why you did what you did, because I need to understand your logic. So either during or after you're done coding, you will need to explain me your algorithm. If you have further questions, pls email me. I need to have this program done by July 16. But I will need you to send me your pseudocode or algorithm on July 13 the latest. Thanks :)

## Platform

Windows 2000, Microsoft Visual C++ 6.0

## Deadline information

Don't bid if you're not serious. Previous coder for this project dissappeared on me. So don't waste my time if you're not going to be cooperative. I'll expect you to respond to my emails.

Programación en C Ingeniería MySQL PHP Arquitectura de software Verificación de software

Nº del proyecto: #2859215

Sobre el proyecto

7 propuestas Proyecto remoto Activo Jul 7, 2002

Adjudicado a:

silk61

See private message.

$7 USD en 14 días
(2 comentarios)
1.7

7 freelancers están ofertando un promedio de $44 por este trabajo

vw181638vw

See private message.

$42.5 USD en 14 días
(44 comentarios)
5.4
cskvw

See private message.

$17 USD en 14 días
(24 comentarios)
5.2
narphorium

See private message.

$11.9 USD en 14 días
(29 comentarios)
3.6
vw203484vw

See private message.

$17 USD en 14 días
(17 comentarios)
3.3
runing

See private message.

$170 USD en 14 días
(3 comentarios)
0.7
asadather

See private message.

$42.5 USD en 14 días
(1 comentario)
0.0