Just simulate what problem wants, iterate from left to right and evaluate the expression.
Note that the numbers are just one digit from 0 to 9.
I describe my solution or give some hints about the solution for algorithmic problems used in ICPC or online sites for programming contests.
I just skimmed the problem statement and panicked of the high boundary of the input, but something inside told me don't worry everyth...
No comments:
Post a Comment