HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Problems from Olympiads.ru > problem:


213. 50769 - Arithmetic expression

Guest
• Discussion of problem (1)

Volume problems

• 113. 50241 - Greatest common divisor
• 127b. 50730 - The largest product
• 127c. 50731 - The largest product (2)
• 133. 50239 - Eating cheese
• 138. 50732 - Sorting
• 147. 50251 - Symmetric matrix
• 159. 50668 - Triangle
• 206. 50252 - Birthday
• 213. 50769 - Arithmetic express...
• 217. 50253 - Timer
• 234. 50249 - Ladders
• 235. 50250 - The Knight
• 240. 50247 - Missing numbers
• 272. 50707 - Rebus
• 275. 50691 - The traveling salesma...

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 Output
154+3
157

Для отправки решений необходимо выполнить вход.

www.contester.ru