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:08highload-churnerhighload-churnerScore: 3,724Success
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:083,719116,883,941105,669,0002,208,00024,576
2Oct 16, 2026 09:083,720116,963,099105,708,0002,193,00024,576
3Oct 16, 2026 09:083,722116,930,037105,751,0002,211,00024,576
4Oct 16, 2026 09:083,724116,970,973105,782,0002,226,00024,576
5Oct 16, 2026 09:083,724117,034,779105,790,0002,222,00024,576
6Oct 16, 2026 09:083,725116,985,346105,828,0002,220,00024,576
7Oct 16, 2026 09:083,726117,060,297105,843,0002,235,00024,576
8Oct 16, 2026 09:083,727117,849,192105,860,0002,230,00024,576
9Oct 16, 2026 09:083,727117,699,580105,885,0002,224,00024,576