Limits 1s, 512 MB · Custom Checker

Ellen is teaching elementary math to her students and the time for the final exam has come. The exam consists of n questions. In each question the students have to add (+), subtract (-) or multiply (*) a pair of numbers.

This is a companion discussion topic for the original entry at https://toph.co/p/elementary-math