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 listSep 25, 2026 15:42Kevin HeaveyKevin HeaveyScore: 1,841Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 25, 2026 15:421,84063,442,67153,373,000020,480
2Sep 25, 2026 15:421,84162,223,56053,407,000020,480
3Sep 25, 2026 15:421,84162,139,88753,401,000020,480
4Sep 25, 2026 15:421,84162,168,51153,393,000020,480
5Sep 25, 2026 15:421,84162,153,94753,400,000020,480
6Sep 25, 2026 15:421,84262,198,25353,426,000020,480
7Sep 25, 2026 15:421,84362,214,98653,449,000020,480
8Sep 25, 2026 15:421,84462,226,96853,493,000020,480
9Sep 25, 2026 15:421,84562,941,68653,512,000020,480