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 listOct 19, 2026 05:50highload-churnerhighload-churnerScore: 1,761Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 19, 2026 05:511,75960,291,14751,033,00002,113,536
2Oct 19, 2026 05:511,76061,892,02651,053,00002,113,536
3Oct 19, 2026 05:511,76060,450,19551,068,00002,113,536
4Oct 19, 2026 05:511,76060,329,13951,055,00002,113,536
5Oct 19, 2026 05:511,76160,588,58151,080,00002,113,536
6Oct 19, 2026 05:511,76160,487,34651,090,00002,113,536
7Oct 19, 2026 05:511,76260,456,43751,118,00002,117,632
8Oct 19, 2026 05:511,76360,501,63951,144,00002,113,536
9Oct 19, 2026 05:511,76360,496,96351,149,00002,113,536