Arithmetic expressions Sergey Svistunov

Evaluate 100 arithmetic expressions as fast as possible.

Input

One expression per line on STDIN. Each expression contains 50,000 int16 numbers with operators +, -, *, / (integer division) and parentheses (, ).

-19550 - ((-14208 / (13583 + -19215)) + (-16832 / 797 + (9060 / -23627)) + ((-6060) + 24953))
30835 - 3703 - (-20089 * -6261 + ((-28985 - 29627) + (-17828 - (22773 / -4014) * 1630)))

Output

Print the int64 result of each expression, one per line, to STDOUT.

Back to listFeb 22, 2026 01:43olliecrowolliecrowScore: 6,614Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2026 01:436,609219,049,097190,660,0001,003,0002,514,944
2Feb 22, 2026 01:436,612218,616,820189,741,0001,997,0002,293,760
3Feb 22, 2026 01:436,613220,221,828189,787,0001,997,0002,285,568
4Feb 22, 2026 01:436,614221,385,441188,802,0002,996,0002,514,944
5Feb 22, 2026 01:436,614221,311,341189,802,0001,997,0002,293,760
6Feb 22, 2026 01:436,614223,196,339189,804,0001,997,0002,293,760
7Feb 22, 2026 01:436,624217,134,016188,081,0004,001,0002,293,760
8Feb 22, 2026 01:436,632220,081,472191,338,0001,001,0002,293,760
9Feb 22, 2026 01:436,641218,506,378191,577,0001,003,0002,527,232