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 9, 2026 22:17Tomislav TunkovicTomislav TunkovicScore: 2,372Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 22:212,37078,845,03364,158,0004,576,00028,672
2Sep 9, 2026 22:212,37079,895,45064,149,0004,599,00032,768
3Sep 9, 2026 22:212,37078,662,57364,178,0004,574,00032,768
4Sep 9, 2026 22:212,37178,701,99564,169,0004,607,00028,672
5Sep 9, 2026 22:212,37278,733,23864,198,0004,595,00032,768
6Sep 9, 2026 22:212,37378,848,20964,160,0004,658,00032,768
7Sep 9, 2026 22:212,37478,884,38964,162,0004,690,00032,768
8Sep 9, 2026 22:212,37578,798,77864,208,0004,695,00032,768
9Sep 9, 2026 22:212,37878,825,97964,222,0004,748,00028,672