View Single Post
  #10 (permalink)  
Old 08-23-2007, 01:55 PM
molotov molotov is offline
Novice
Join Date: Jul 2007
Posts: 37
iTrader: (0)
molotov is on a distinguished road
Quote:
Originally Posted by TeraTask View Post
That properly calculates the frequency, but not posting times. Here's my solution:
How is the frequency different from the posting times? Perhaps I misunderstood the problem.

Quote:
Originally Posted by TeraTask
Make an algorithm that will post the given number of times per the given time period with each post being on different days.
My solution does exactly this; $post_interval will always be greater than or equal to 1, so the posts will be made at least 24 hours apart.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote