Hello everyone.
recently i was solving a problems very interesting.
https://jv.umsa.bo/problem.php?cid=1526&pid=19
It is a virtual judge from UMSA (Universidad Mayor de San Andres), the problem say that you have to simulate a calculator, i solve it and got AC:
https://ideone.com/AknWo6 <---- Here is my code
but I see a very diferent solution of my friend he first move the diferent operators to the beginning and later process it.
could someone explain me this please.
no body can help me?