Off By One
You just bought a new calculator, but it seems to have a small problem: all its results have an extra $1$ appended to the end. For example, if you ask it for `3 + 5`, it'll print `81`, and `4 + 12` will result in `161`. Given $A$ and $B$, can you predict what the calculator will print when you ask it for $A + B$? ### Input - The first and only line of input will contain two space-separated int
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start