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 21, 2026 18:19olliecrowolliecrowScore: 3,684Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 18:193,681126,207,876104,770,0001,995,0002,334,720
2Apr 21, 2026 18:193,681126,234,398104,771,0001,995,0002,473,984
3Apr 21, 2026 18:193,681121,147,039104,759,0001,995,0002,478,080
4Apr 21, 2026 18:193,683122,831,332104,811,0001,996,0002,330,624
5Apr 21, 2026 18:193,684121,051,516104,846,0001,997,0002,330,624
6Apr 21, 2026 18:193,684125,114,360104,847,0001,997,0002,482,176
7Apr 21, 2026 18:193,684119,029,702104,841,0001,996,0002,334,720
8Apr 21, 2026 18:193,685124,559,635104,886,0001,997,0002,469,888
9Apr 21, 2026 18:193,686120,747,305104,910,0001,998,0002,334,720