АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

61. Compute, please

Time Limit: 1 seconds
Memory Limit:64000KB
Points:2
View Problem Statistics Submit Problem added Administrator

Строка представляет собой арифметическое выражение, не превышающее 255 символов и состоящее только из целых чисел и знаков + и -. Вычислить значение выражения, считая, что все числа и результат по модулю не превышают 10000.

Input

Одна единственная строка представляющая собой арифметическое выражение.

Output

Одно целое число, которое является результатом вычисления выражения.

Sample

InputOutput
-90-90

View Problem Statistics Submit Author/source:
Educational Courses / Programming and Basics of Algorithmization / Others /
59. Change Letters 61. 60. Drop Spaces 62. Drop the Word 55. Marks
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.39 sec.
© Copyright VSTU, AVT, Nosov D.A.