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:55olliecrowolliecrowScore: 4,191Success
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:554,188145,476,187120,435,0001,003,0002,285,568
2Feb 22, 2026 03:554,190147,645,906120,500,0001,004,0002,510,848
3Feb 22, 2026 03:554,190149,103,924120,509,0001,004,0002,285,568
4Feb 22, 2026 03:554,191141,355,961120,527,0001,004,0002,502,656
5Feb 22, 2026 03:554,191143,830,001120,545,0001,004,0002,285,568
6Feb 22, 2026 03:554,192149,983,047119,565,0002,009,0002,285,568
7Feb 22, 2026 03:554,193149,745,549119,607,0001,993,0002,285,568
8Feb 22, 2026 03:554,198152,016,519120,732,0001,006,0002,494,464
9Feb 22, 2026 03:554,202149,219,987120,856,000998,0002,285,568