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 listAug 14, 2026 23:31Tomislav TunkovicTomislav TunkovicError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 8, 2026 16:13C#_user10.04CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2026 16:13010,809,16601,961,00020,480No answer to stdout. Died or killed?
2Aug 14, 2026 23:322,38177,490,21966,249,0002,828,0002,117,632
3Aug 14, 2026 23:322,38277,279,98466,251,0002,843,0002,117,632
4Aug 14, 2026 23:322,38778,294,16166,442,0002,796,0002,117,632
5Aug 14, 2026 23:322,38978,455,37266,490,0002,819,0002,117,632
6Aug 14, 2026 23:322,38977,667,70266,484,0002,817,0002,117,632
7Aug 14, 2026 23:322,38977,678,89266,475,0002,809,0002,117,632
8Aug 14, 2026 23:322,39077,710,89266,500,0002,818,0002,117,632
9Aug 14, 2026 23:322,39077,761,47266,483,0002,829,0002,117,632
10Aug 14, 2026 23:322,39177,755,61066,535,0002,820,0002,117,632