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:22highload-churnerhighload-churnerScore: 3,618Success
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:233,610113,901,803102,386,0002,315,00024,576
2Oct 17, 2026 03:233,614114,001,549102,517,0002,311,00024,576
3Oct 17, 2026 03:233,616114,082,066102,570,0002,320,00024,576
4Oct 17, 2026 03:233,616114,081,757102,565,0002,324,00024,576
5Oct 17, 2026 03:233,618115,333,504102,607,0002,325,00024,576
6Oct 17, 2026 03:233,620114,191,546102,658,0002,339,00024,576
7Oct 17, 2026 03:233,620115,771,361102,538,0002,456,00024,576
8Oct 17, 2026 03:233,620114,196,739102,672,0002,319,00024,576
9Oct 17, 2026 03:233,621125,105,721102,673,0002,355,00024,576