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:24highload-churnerhighload-churnerScore: 4,103Success
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:244,078127,316,370108,369,0009,921,00024,576
2Oct 16, 2026 09:244,090127,630,399108,387,00010,233,00024,576
3Oct 16, 2026 09:244,098127,905,565108,610,00010,256,00024,576
4Oct 16, 2026 09:244,102127,969,407108,452,00010,528,00024,576
5Oct 16, 2026 09:244,103128,503,520108,449,00010,549,00024,576
6Oct 16, 2026 09:244,104128,073,440108,546,00010,488,00024,576
7Oct 16, 2026 09:244,108128,039,131108,523,00010,625,00024,576
8Oct 16, 2026 09:244,117128,383,373108,529,00010,880,00024,576
9Oct 16, 2026 09:244,127128,787,975108,680,00011,006,00024,576