This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Programming Diversions and the fly likes how long to deliver the preswnts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "how long to deliver the preswnts" Watch "how long to deliver the preswnts" New topic
Author

how long to deliver the preswnts

David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Assuming Santa has to deliver all of the presents on Christmas night, how many hours does that give him? Assume he starts at midnight.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11880
    
  18

i'm going with 48 hours.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44525
    
  34
Since the sun rises about 8.00am here in midwinter, 32. If you go rather farther north, say to northern Norway, you are looking at about a month until sunrise
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11880
    
  18

I assumed that all presents had to be delivered at some point on Dec. 25th, local time. I did not take daylight/darkness into account, since he would have such a short time in any given house that you wouldn't be able to see him anyway.

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44525
    
  34
You mean after 2000000000 chimneys Santa will be so black with soot nobody will be able to see him? In that case, 48 hours.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

31 hours give-or-take was the answer I was given
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Although my kids have been getting up between 4 and 5am recently, but I'm sure he has learnt to adjust for that by now.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44525
    
  34
David O'Meara wrote:Although my kids have been getting up between 4 and 5am recently, but I'm sure he has learnt to adjust for that by now.
I had mine trained better than that. When Sarah was 12, she was given her last present at 8pm And her sister was only eight and was given presents at similar timings.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11880
    
  18

I found where 31 might have come from.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how long to deliver the preswnts
 
It's not a secret anymore!