Editorial for Appleby Contest '19 P3 - A Recursion Problem


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Author: Plasmatic

The important observation here is that the order of operations is irrelevant to the actual answer. Thus, one can just sum up all of the numbers in the expression without paying attention to any of the brackets or plus signs.


Comments

There are no comments at the moment.