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 listFeb 22, 2026 04:14olliecrowolliecrowScore: 4,202Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2026 03:494,199145,795,919120,760,000998,0002,285,568
2Feb 22, 2026 03:494,200147,145,748119,818,0001,996,0002,502,656
3Feb 22, 2026 03:494,201147,686,250119,821,0001,997,0002,285,568
4Feb 22, 2026 03:494,201147,841,365119,827,0001,997,0002,285,568
5Feb 22, 2026 03:494,201149,562,302120,828,000998,0002,285,568
6Feb 22, 2026 04:144,201148,660,020119,831,0001,997,0002,285,568
7Feb 22, 2026 03:494,202146,503,468120,850,000998,0002,285,568
8Feb 22, 2026 03:494,202150,140,760119,872,0001,997,0002,285,568
9Feb 22, 2026 03:494,202153,375,415119,874,0001,997,0002,502,656
10Feb 22, 2026 04:144,203146,260,161120,875,000998,0002,502,656
11Feb 22, 2026 04:144,204151,114,676119,918,0001,998,0002,293,760
12Feb 22, 2026 03:494,209151,630,507120,064,0002,001,0002,281,472