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:39Kevin HeaveyKevin HeaveyScore: 1,862Success
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:391,85962,686,99353,939,000020,480
2Sep 25, 2026 15:391,86062,719,33653,966,000020,480
3Sep 25, 2026 15:391,86063,446,46253,968,000020,480
4Sep 25, 2026 15:391,86162,736,18753,973,000020,480
5Sep 25, 2026 15:391,86262,775,71754,000,000020,480
6Sep 25, 2026 15:391,86262,821,46154,017,000020,480
7Sep 25, 2026 15:391,86262,762,53553,998,000020,480
8Sep 25, 2026 15:391,86362,831,72754,028,000020,480
9Sep 25, 2026 15:391,86362,838,12754,053,000020,480