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:43highload-churnerhighload-churnerScore: 3,735Success
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:443,731117,158,111105,979,0002,236,00024,576
2Oct 16, 2026 08:443,732117,243,294106,031,0002,205,00024,576
3Oct 16, 2026 08:443,735117,303,184106,120,0002,210,00024,576
4Oct 16, 2026 08:443,735117,346,688106,075,0002,261,00024,576
5Oct 16, 2026 08:443,735117,333,348106,099,0002,224,00024,576
6Oct 16, 2026 08:443,738117,436,435106,204,0002,210,00024,576
7Oct 16, 2026 08:443,738117,633,115106,189,0002,237,00024,576
8Oct 16, 2026 08:443,740117,505,740106,215,0002,248,00024,576
9Oct 16, 2026 08:443,742117,576,772106,301,0002,221,00024,576