# The Reverse Polish Notation

How fast can you calculate in RPN?
The examples were generated by a program, note me if there's something too difficult or wrong
Quiz by Pandryf
Rate:
Last updated: February 14, 2024
You have not attempted this quiz yet.
 First submitted February 13, 2024 Times taken 2 Average score 100.0% Report this quiz Report
6:00
0
/ 15 guessed
The quiz is paused. You have remaining.
Scoring
You scored / = %
This beats or equals % of test takers also scored 100%
The average score is
Keep scrolling down for answers and more stats ...
 RPN Result 1 10 * 5 + 1 + 16 10 8 4 1 ^ - - 6 1 9 * 8 * 5 - 67 4 1 * 6 10 + + 20 8 4 + 1 * 10 * 120
 RPN Result 1 3 7 + * 2 - 8 2 7 - 5 + 5 / 0 7 3 - 2 10 + + 16 10 7 8 + 10 - + 15 7 4 9 + + 7 + 27
 RPN Result 6 9 + 5 4 - - 14 3 9 6 + 5 / - 0 1 1 2 2 - * * 0 7 3 8 + 8 + * 133 3 2 * 10 * 5 + 65
+1
Level 59
Feb 13, 2024
explain
+1
Level 60
Feb 14, 2024
there's a stack of numbers, now reading from left to right:

1) if there's a number, you stack it on the top

2) if there's an operating sign, you do what it says with the top 2 numbers from the stack, e.g. if the top number is 2, there's a 7 right under it, and you have a "^", you raise 7 to the 2nd power and get 49 - the result replaces the numbers used to create it - in this example, the stack of [5, 12, 8, 7, 2] becomes [5, 12, 8, 49]