Jump to content


Welcome to BrainDen.com - Brain Teasers Forum

Welcome to BrainDen.com - Brain Teasers Forum. Like most online communities you must register to post in our community, but don't worry this is a simple free process. To be a part of BrainDen Forums you may create a new account or sign in if you already have an account.
As a member you could start new topics, reply to others, subscribe to topics/forums to get automatic updates, get your own profile and make new friends.

Of course, you can also enjoy our collection of amazing optical illusions and cool math games.

If you like our site, you may support us by simply clicking Google "+1" or Facebook "Like" buttons at the top.
If you have a website, we would appreciate a little link to BrainDen.

Thanks and enjoy the Den :-)
Guest Message by DevFuse
 

Photo
- - - - -


  • Please log in to reply
1 reply to this topic

#1 superprismatic

superprismatic

    Not just Prismatic

  • Moderator
  • PipPipPipPip
  • 1281 posts
  • Gender:Male

Posted 25 July 2010 - 08:09 PM

This problem is about Reverse Polish Notation (RPN) which is explained at http://en.wikipedia....olish_notation.

Using RPN with operators chosen from the set {+,-,×,÷}, what is the smallest positive integer
which cannot be made from the string of digits 123456789 (in that order) with eight operators
interspersed to make a well-formed RPN expression?

As an RPN example, the string 12+3+4+5+6+7+8+9 evaluates to 45, 123456789++++++++ evaluates to 45,
1234+-5/67××-89++ evaluates to 60, and 123456789-+-+-+-+ evaluates to 1.
  • 0

#2 archlordbr

archlordbr

    Advanced Member

  • Members
  • PipPipPip
  • 242 posts

Posted 25 July 2010 - 11:01 PM

This RPN is too complicated to me :wacko:
By the way, the link you posted is misspelled. You need to remove the dot in the end.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users