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 07:41highload-churnerhighload-churnerScore: 3,760Success
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 07:423,759118,011,083106,801,0002,238,00024,576
2Oct 16, 2026 07:423,759118,058,615106,790,0002,247,00024,576
3Oct 16, 2026 07:423,760118,080,879106,822,0002,224,00024,576
4Oct 16, 2026 07:423,760118,105,945106,809,0002,248,00024,576
5Oct 16, 2026 07:423,760118,048,961106,827,0002,234,00024,576
6Oct 16, 2026 07:423,761118,097,077106,832,0002,239,00024,576
7Oct 16, 2026 07:423,763118,083,598106,911,0002,244,00024,576
8Oct 16, 2026 07:423,765118,215,549106,798,0002,412,00024,576
9Oct 16, 2026 07:423,765120,063,078106,962,0002,247,00024,576