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:43highload-churnerhighload-churnerScore: 4,002Success
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:433,997124,891,320113,696,0002,223,00024,576
2Oct 16, 2026 05:433,999125,025,702113,763,0002,218,00024,576
3Oct 16, 2026 05:433,999124,997,230113,798,0002,201,00024,576
4Oct 16, 2026 05:434,001125,136,012113,849,0002,207,00024,576
5Oct 16, 2026 05:434,002125,054,771113,838,0002,234,00024,576
6Oct 16, 2026 05:434,004125,170,163113,870,0002,255,00024,576
7Oct 16, 2026 05:434,004126,592,540113,897,0002,222,00024,576
8Oct 16, 2026 05:434,008125,199,456114,008,0002,236,00024,576
9Oct 16, 2026 05:434,008125,240,052113,944,0002,308,00024,576