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 17, 2026 03:14highload-churnerhighload-churnerScore: 3,620Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2026 03:173,614114,051,067102,559,0002,273,00024,576
2Oct 17, 2026 03:173,618114,119,172102,663,0002,277,00024,576
3Oct 17, 2026 03:173,618114,108,792102,635,0002,309,00024,576
4Oct 17, 2026 03:173,618114,132,510102,594,0002,354,00024,576
5Oct 17, 2026 03:173,620114,232,606102,673,0002,323,00024,576
6Oct 17, 2026 03:173,621114,204,488102,664,0002,348,00024,576
7Oct 17, 2026 03:173,621115,584,405102,671,0002,340,00024,576
8Oct 17, 2026 03:173,622114,260,785102,578,0002,486,00024,576
9Oct 17, 2026 03:173,624114,363,596102,816,0002,305,00024,576