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 12:57marko1597marko1597Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 8, 2026 17:13C#_user10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2026 17:13010,767,5781,082,000020,480No answer to stdout. Died or killed?
2Aug 14, 2026 13:003,02597,557,18485,544,0002,205,0002,113,536
3Aug 14, 2026 13:003,02597,547,00685,533,0002,199,0002,113,536
4Aug 14, 2026 13:003,02597,567,81285,527,0002,226,0002,117,632
5Aug 14, 2026 13:003,02897,651,47185,544,0002,277,0002,113,536
6Aug 14, 2026 13:003,02897,780,02185,506,0002,317,0002,113,536
7Aug 14, 2026 13:003,02897,679,07685,538,0002,299,0002,113,536
8Aug 14, 2026 13:003,02997,689,77985,537,0002,315,0002,113,536
9Aug 14, 2026 13:003,02997,686,00585,535,0002,306,0002,113,536
10Aug 14, 2026 13:003,03097,797,95785,524,0002,366,0002,113,536