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:48olliecrowolliecrowScore: 3,763Success
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:483,762135,991,651107,095,0002,001,0002,269,184
2Feb 22, 2026 06:483,762136,723,496107,103,0002,001,0002,523,136
3Feb 22, 2026 06:483,763135,200,672108,119,0001,001,0002,285,568
4Feb 22, 2026 06:483,763132,065,474107,118,0002,002,0002,273,280
5Feb 22, 2026 06:483,763133,647,078108,119,0001,001,0002,514,944
6Feb 22, 2026 06:483,763131,882,330107,118,0002,002,0002,269,184
7Feb 22, 2026 06:483,763133,220,872107,119,0002,002,0002,285,568
8Feb 22, 2026 06:483,764131,960,767107,145,0002,002,0002,285,568
9Feb 22, 2026 06:483,769136,014,995107,284,0002,005,0002,514,944