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 05:30olliecrowolliecrowScore: 4,035Success
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 05:304,032144,633,611114,927,0001,998,0002,514,944
2Feb 22, 2026 05:384,032146,416,534114,931,0001,998,0002,506,752
3Feb 22, 2026 05:304,033143,909,580114,969,0001,999,0002,285,568
4Feb 22, 2026 05:304,034140,857,055114,977,0001,999,0002,285,568
5Feb 22, 2026 05:304,034147,946,011114,979,0001,999,0002,285,568
6Feb 22, 2026 05:384,034141,905,086115,000,0002,000,0002,285,568
7Feb 22, 2026 05:304,035147,998,232115,001,0002,000,0002,285,568
8Feb 22, 2026 05:304,035142,920,514115,017,0002,000,0002,285,568
9Feb 22, 2026 05:304,035145,118,627115,018,0002,000,0002,502,656
10Feb 22, 2026 05:304,037143,066,373116,064,0001,000,0002,506,752
11Feb 22, 2026 05:304,037144,670,238114,077,0003,002,0002,281,472
12Feb 22, 2026 05:384,038149,789,114115,092,0002,001,0002,506,752