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 listApr 20, 2026 17:43olliecrowolliecrowScore: 4,050Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 17:444,046146,605,547117,351,00002,375,680
2Apr 20, 2026 17:444,046144,689,586116,336,0001,002,0002,371,584
3Apr 20, 2026 17:444,048144,538,615116,410,0001,003,0002,383,872
4Apr 20, 2026 17:444,049139,722,959116,423,0001,003,0002,273,280
5Apr 20, 2026 17:444,050140,716,013115,450,0002,007,0002,379,776
6Apr 20, 2026 17:444,050139,302,827116,454,0001,003,0002,379,776
7Apr 20, 2026 17:444,051144,550,043116,489,0001,004,0002,387,968
8Apr 20, 2026 17:444,051138,709,462116,483,0001,004,0002,375,680
9Apr 20, 2026 17:444,051140,616,655116,502,0001,004,0002,375,680