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 16, 2026 22:53Tomislav TunkovicTomislav TunkovicError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 8, 2026 16:26C#_user70.27CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2026 16:2709,717,30301,802,00016,384No answer to stdout. Died or killed?
2Aug 17, 2026 00:142,50980,803,90771,134,0001,647,00020,480
3Aug 17, 2026 00:142,51080,962,50770,333,0002,467,00020,480
4Aug 17, 2026 00:142,51082,227,74071,174,0001,643,00020,480
5Aug 17, 2026 00:142,51082,210,72571,173,0001,630,00020,480
6Aug 17, 2026 00:142,51181,078,64470,359,0002,486,00020,480
7Aug 17, 2026 00:142,51280,950,33171,206,0001,642,00020,480
8Aug 17, 2026 00:142,51381,036,37171,103,0001,792,00020,480
9Aug 17, 2026 00:142,51481,099,22871,274,0001,640,00020,480
10Aug 17, 2026 00:142,51481,046,98171,290,0001,635,00020,480