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 31, 2026 00:59Tomislav TunkovicTomislav TunkovicError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 8, 2026 13:07C#_user39.81CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2026 13:13013,413,08902,911,00020,480No answer to stdout. Died or killed?
2Aug 31, 2026 01:112,16372,799,91060,912,0001,816,00020,480
3Aug 31, 2026 01:112,16372,774,91160,941,0001,814,00020,480
4Aug 31, 2026 01:112,16372,628,10560,927,0001,804,00020,480
5Aug 31, 2026 01:112,16372,668,99060,946,0001,808,00020,480
6Aug 31, 2026 01:112,16472,683,30860,945,0001,815,00020,480
7Aug 31, 2026 01:112,16472,699,73260,978,0001,805,00020,480
8Aug 31, 2026 01:112,16472,735,26760,055,0002,709,00020,480
9Aug 31, 2026 01:112,16473,411,69160,967,0001,815,00020,480
10Aug 31, 2026 01:112,16472,616,28060,952,0001,813,00020,480