On the Subject of Reverse Polish Notation
Final Answer: Take absolute value, then mod 1,000,000, round off to 3 decimal places.
NOTE: For division by 0, take the answer to be 0.
Replace letters with numbers:
If a letter returns 0, change it to 1. (#// = Number of parallel ports)
A | #batt × #modules (EXCLUDE needies) |
---|---|
B | (#ports - #indicators) ^ 2 |
C | (#battholders + 2) ÷ SN last # (Answer: drop remainders) |
D | Sum of non-encoded numbers + 10 |
E |
(#serials + #//) ? SN 3rd character
|
F | [(#portplates + #ps2 + #rj) mod 9]-th Triangle # |
G |
#solvable modules LUNAR ADD #original minutes
|
Reverse Polish Notation (example):
3 5 + 7 2 - * postfix notation (RPN)
- 3 5: (3, 5)
- +: (3+5) = (8)
- 7 2: (8, 7, 2)
- -: (8, 7-2) = (8, 5)
- *: (8*5) = (40) <-- answer
Lunar addition:
Take the largest digit in each position.
- 726 + 351 = 756
Triangle numbers:
n-th Triangle # = 1 + 2 + ... + n = n(n+1)/2