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 05:33highload-churnerhighload-churnerScore: 3,794Success
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 05:333,789120,404,099107,662,0002,226,00024,576
2Oct 16, 2026 05:333,791119,827,299107,742,0002,207,00024,576
3Oct 16, 2026 05:333,792118,965,586107,744,0002,236,00024,576
4Oct 16, 2026 05:333,793119,030,799107,798,0002,211,00024,576
5Oct 16, 2026 05:333,794119,021,876107,822,0002,218,00024,576
6Oct 16, 2026 05:333,795119,108,689107,855,0002,213,00024,576
7Oct 16, 2026 05:333,795119,028,943107,828,0002,229,00024,576
8Oct 16, 2026 05:333,797119,126,476107,744,0002,371,00024,576
9Oct 16, 2026 05:333,797119,142,241107,870,0002,247,00024,576