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 listApr 22, 2026 01:26olliecrowolliecrowScore: 3,746Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2026 01:273,741130,148,052107,488,0001,004,0002,326,528
2Apr 22, 2026 01:273,743130,444,158107,546,0001,005,0002,326,528
3Apr 22, 2026 01:273,744128,634,781107,592,0001,005,0002,334,720
4Apr 22, 2026 01:273,745129,824,616107,617,0001,005,0002,342,912
5Apr 22, 2026 01:273,746128,194,062107,646,0001,006,0002,326,528
6Apr 22, 2026 01:273,746125,528,896107,654,0001,006,0002,330,624
7Apr 22, 2026 01:273,747123,018,922107,657,0001,006,0002,342,912
8Apr 22, 2026 01:273,751126,298,280107,799,0001,007,0002,326,528
9Apr 22, 2026 01:273,753128,695,314106,843,0001,997,0002,326,528