Feedback | If you notice incorrect translations in Contester, please let author know.
|
|
Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Difficulty Alpha
Arithmetic expression
English translation is by Google
Russian
Read an arithmetic expression, and calculate the result.
Input
The first line contains an arithmetic expression as follows:
NumberOperatioNumber . Number is
natural number not exceeding 10000. Operation -
one of the symbols +, -, *. There are numbers at the beginning and at the end of the line. And between the numbers,
there is an operator. There is no gap between the numbers. It is guaranteed that the string length does not exceed 13 characters.
Output
Calculate and show the result of the given expression.
Input
Td>
|
Output
Td> tr> |
154+3
Td>
|
157
Td> tr> |
Для отправки решений необходимо выполнить вход.
|