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 9, 2026 22:31Tomislav TunkovicTomislav TunkovicScore: 2,255Success
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 10, 2026 16:23C#_user171.50CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 22:322,25375,516,94062,179,0003,175,00020,480
2Sep 9, 2026 22:322,25475,898,90162,189,0003,193,00020,480
3Sep 9, 2026 22:322,25575,537,54362,210,0003,189,00020,480
4Sep 9, 2026 22:322,25575,512,97962,247,0003,170,00020,480
5Sep 9, 2026 22:322,25575,543,65862,225,0003,185,00020,480
6Sep 9, 2026 22:322,25575,601,95362,235,0003,178,00020,480
7Sep 9, 2026 22:322,25675,652,04262,253,0003,193,00020,480
8Sep 9, 2026 22:322,25675,537,83662,272,0003,173,00020,480
9Sep 9, 2026 22:322,25775,605,31362,270,0003,185,00020,480