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:47olliecrowolliecrowScore: 6,584Success
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:476,581219,402,232188,855,0001,998,0002,289,664
2Feb 22, 2026 01:476,582215,064,855189,866,000999,0002,514,944
3Feb 22, 2026 01:476,582221,713,627188,888,0001,998,0002,285,568
4Feb 22, 2026 01:476,584220,686,296187,931,0002,998,0002,523,136
5Feb 22, 2026 01:476,584217,895,654188,943,0001,999,0002,281,472
6Feb 22, 2026 01:476,593218,840,101189,207,0002,002,0002,293,760
7Feb 22, 2026 01:476,596223,543,462189,276,0002,002,0002,285,568
8Feb 22, 2026 01:476,596212,114,461189,281,0002,002,0002,293,760
9Feb 22, 2026 01:476,599214,757,568190,372,0001,001,0002,514,944