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:29Tomislav TunkovicTomislav TunkovicScore: 2,319Success
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:312,31775,869,02563,370,0003,837,00028,672
2Sep 9, 2026 22:312,31875,823,66863,400,0003,835,00028,672
3Sep 9, 2026 22:312,31975,908,52463,411,0003,858,00028,672
4Sep 9, 2026 22:312,31975,959,98963,389,0003,883,00028,672
5Sep 9, 2026 22:312,31975,952,82663,418,0003,861,00028,672
6Sep 9, 2026 22:312,32376,065,17663,400,0003,995,00028,672
7Sep 9, 2026 22:312,32576,131,51263,448,0003,991,00028,672
8Sep 9, 2026 22:312,32577,599,02663,436,0004,002,00028,672
9Sep 9, 2026 22:312,32777,812,38263,451,0004,057,00028,672