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 03:04olliecrowolliecrowScore: 4,934Success
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 03:044,933169,607,693141,069,0002,000,0002,502,656
2Feb 22, 2026 03:044,934170,602,014141,077,0002,001,0002,285,568
3Feb 22, 2026 03:044,934167,812,680141,082,0002,001,0002,502,656
4Feb 22, 2026 03:044,934170,527,295141,084,0002,001,0002,281,472
5Feb 22, 2026 03:044,934171,587,741141,090,0002,001,0002,498,560
6Feb 22, 2026 03:044,935175,728,037142,106,0001,000,0002,281,472
7Feb 22, 2026 03:044,936165,919,073141,144,0002,002,0002,281,472
8Feb 22, 2026 03:044,940169,542,640141,258,0002,003,0002,285,568
9Feb 22, 2026 03:044,962171,626,581141,900,0001,998,0002,285,568