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 16, 2026 09:36highload-churnerhighload-churnerScore: 3,627Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 16, 2026 09:373,624114,125,840102,783,0002,316,00024,576
2Oct 16, 2026 09:373,625114,817,169102,841,0002,300,00024,576
3Oct 16, 2026 09:373,626114,204,240102,850,0002,323,00024,576
4Oct 16, 2026 09:373,626114,197,920102,858,0002,319,00024,576
5Oct 16, 2026 09:373,627114,245,329102,881,0002,314,00024,576
6Oct 16, 2026 09:373,633114,671,439103,050,0002,326,00024,576
7Oct 16, 2026 09:373,635114,394,110103,123,0002,295,00024,576
8Oct 16, 2026 09:373,637115,889,502103,086,0002,388,00024,576
9Oct 16, 2026 09:373,638114,522,636103,166,0002,336,00024,576