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 listApr 9, 2026 17:50olliecrowolliecrowScore: 3,685Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 9, 2026 17:503,684134,031,707104,853,0001,997,0002,281,472
2Apr 18, 2026 20:123,684130,188,584104,843,0001,997,0002,359,296
3Apr 18, 2026 20:123,685130,450,039105,876,000998,0002,367,488
4Apr 18, 2026 20:123,685134,257,981104,878,0001,997,0002,277,376
5Apr 9, 2026 17:503,692129,962,879106,063,0001,000,0002,363,392
6Apr 9, 2026 17:503,698131,964,030106,244,0001,002,0002,453,504