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 08:21highload-churnerhighload-churnerScore: 3,741Success
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 08:223,736117,348,244106,139,0002,231,00024,576
2Oct 16, 2026 08:223,738117,424,580106,173,0002,250,00024,576
3Oct 16, 2026 08:223,739117,411,619106,202,0002,234,00024,576
4Oct 16, 2026 08:223,740117,562,256106,213,0002,267,00024,576
5Oct 16, 2026 08:223,741117,510,065106,287,0002,225,00024,576
6Oct 16, 2026 08:223,742117,708,757106,286,0002,242,00024,576
7Oct 16, 2026 08:223,742117,529,601106,314,0002,217,00024,576
8Oct 16, 2026 08:223,744119,056,145106,349,0002,245,00024,576
9Oct 16, 2026 08:223,745117,966,186106,358,0002,274,00024,576