Mata-i grasa _|_
RST  

Go Back   RST > >> 1337 Zone << > Programare

Programare Coltul programatorilor

Reply
Old 03-10-2010, 08:48 AM   #1 (permalink)
Registered user
Bautor de palinca
 
Join Date: Jan 2010
Posts: 121
Rep Power: 1
alex_cismas se balangane pe drum
alex_cismas is offline

Default Divide et Impera


hotel regim hotelier
hotel yahoo domain
Am si eu nev cat mai rapid de rezolvare la problema .
Calculati prin divide et impera suma valorilor strict pozitive dintr`un vector x de numere reale. Program complet.
__________________
Don`t blame for being handsome, it`s not my fault.
  Reply With Quote
Sponsored Links
Re: Divide et Impera
Old 03-10-2010, 12:41 PM   #2 (permalink)
Bad coder
Cultul betivilor
 
Fitty's Avatar
 
Join Date: Mar 2009
Location: Pitesti
Posts: 1,661
Rep Power: 3
Fitty se balangane pe drum
Send a message via Yahoo to Fitty Send a message via Skype™ to Fitty
Fitty is offline
Default

In ce limbaj? Si ai uitat cuvantul majic
__________________

^ He owns.
  Reply With Quote
Re: Divide et Impera
Old 03-10-2010, 02:36 PM   #3 (permalink)
Registered user
Bautor de vodka
 
Join Date: Mar 2009
Posts: 693
Rep Power: 2
tromfil se balangane pe drum
tromfil is offline
Default

Probabil c++. Algoritmul de Divide et Impera nu-si are rostul pentru aceasta problema.
Totusi te poti uita pe urmatorul link.
[Doar userii inregistrati pot vedea linkurile. ]
  Reply With Quote
Re: Divide et Impera
Old 03-10-2010, 03:02 PM   #4 (permalink)
Moderator
Cultul betivilor
 
loki's Avatar
 
Join Date: Feb 2008
Posts: 2,943
Rep Power: 5
loki will become famous soon enough
loki is offline
Default

Quote:
Originally Posted by tromfil View Post
Probabil c++. Algoritmul de Divide et Impera nu-si are rostul pentru aceasta problema.
Totusi te poti uita pe urmatorul link.
[Doar userii inregistrati pot vedea linkurile. ]
ar avea sens daca sirul ar fi ordonat.
Atunci cauti prin divide et impera primul element >0 si apoi incepi sa aduni toate elementele sirului incepand de la el. Ca idee cum se foloseste metoda: similar problemei "imi aleg un numar de la 1 la 100, tu zici mai mic sau mai mare, trebuie sa il ghicesc din cat mai putine incercari. Adica maxim 7".
__________________
  Reply With Quote
Reply

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump




Copywr0ng (c) 2009 Miercuri catre Joi - RST
All logos and trademarks in this site are property of their respective

Hosted by powerhost.ro