Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Quck one for a Friday afternoon.

 
Ryan McGuire
Ranch Hand
Posts: 1061
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just noticed that my odometer reads 74047, which is a palindromic number. If I always drive at exactly 55 miles per hour how long has it been since the previous palindromic odometer reading (to the closest minute).
 
Mike Simmons
Ranch Hand
Posts: 3076
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Two hours.
 
W. Joe Smith
Ranch Hand
Posts: 710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe the palindrome immediately before 74047 is 73937, making a difference of 110 miles, meaning exactly 2 hours driving time.

Bah! I was beat!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic