Algebra Express
CodeChefOpen on judge ↗
Input file : stdin Output file: stdout Mim is a high school algebra teacher. Just last week, she taught her students how to evaluate an expression. For example, if r = a × (b + c) − d × e Given the values of a, b, c, d and e, they can evaluate r. Now, to test how well her students are able to do these arithmetic, she has to prepare some test. But, she do this every year, and each time she has
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