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 listSep 25, 2026 15:32Kevin HeaveyKevin HeaveyScore: 1,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 25, 2026 15:321,89763,674,69055,017,000020,480
2Sep 25, 2026 15:321,89863,928,53555,056,000020,480
3Sep 25, 2026 15:321,89863,731,30555,066,000020,480
4Sep 25, 2026 15:321,89863,806,28855,068,000020,480
5Sep 25, 2026 15:321,89864,130,79755,053,000020,480
6Sep 25, 2026 15:321,89963,855,71855,095,000020,480
7Sep 25, 2026 15:321,89965,764,70855,080,000020,480
8Sep 25, 2026 15:321,90063,753,84955,100,000020,480
9Sep 25, 2026 15:321,90264,080,16255,176,000020,480