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 13:23marko1597marko1597Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 8, 2026 17:03C#_user10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2026 17:0309,379,3591,035,000020,480No answer to stdout. Died or killed?
2Aug 14, 2026 13:262,66185,710,29674,990,0002,204,0002,117,632
3Aug 14, 2026 13:262,66186,315,13574,971,0002,211,0002,117,632
4Aug 14, 2026 13:262,66285,633,44374,997,0002,228,0002,117,632
5Aug 14, 2026 13:262,68286,242,22775,576,0002,223,0002,117,632
6Aug 14, 2026 13:262,68286,356,69675,575,0002,220,0002,117,632
7Aug 14, 2026 13:262,68388,213,50675,603,0002,205,0002,117,632
8Aug 14, 2026 13:262,68388,597,48275,629,0002,201,0002,117,632
9Aug 14, 2026 13:262,68786,372,86375,596,0002,354,0002,117,632
10Aug 14, 2026 13:262,70087,424,12776,109,0002,207,0002,117,632