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 06:35olliecrowolliecrowScore: 4,039Success
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 06:124,037140,166,766115,065,0002,001,0002,506,752
2Feb 22, 2026 06:124,037142,127,839115,080,0002,001,0002,281,472
3Feb 22, 2026 06:124,039146,755,118115,136,0002,002,0002,498,560
4Feb 22, 2026 06:354,039139,334,019115,121,0002,002,0002,510,848
5Feb 22, 2026 06:354,040146,227,932115,146,0002,002,0002,502,656
6Feb 22, 2026 06:354,040142,709,044115,148,0002,002,0002,285,568