LushoPlusPlus's blog

By LushoPlusPlus, history, 7 years ago, In English

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.

  • Vote: I like it
  • -3
  • Vote: I do not like it

| Write comment?
»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

no body can help me?