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 19:35olliecrowolliecrowScore: 3,694Success
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 19:353,693139,664,288105,106,0002,002,0002,498,560
2Apr 20, 2026 19:353,693130,286,694105,102,0002,001,0002,506,752
3Apr 20, 2026 19:353,694134,654,289105,140,0002,002,0002,252,800
4Apr 20, 2026 19:353,694132,109,409105,134,0002,002,0002,506,752
5Apr 20, 2026 19:353,694132,579,141105,144,0002,002,0002,506,752
6Apr 20, 2026 19:353,697129,694,494106,239,0001,002,0002,289,664
7Apr 20, 2026 19:353,698130,536,660106,256,0001,002,0002,260,992
8Apr 20, 2026 19:353,699131,546,017105,274,0002,005,0002,289,664
9Apr 20, 2026 19:353,700133,424,707106,303,0001,002,0002,510,848