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 09:40olliecrowolliecrowScore: 3,878Success
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 09:403,876134,906,211111,418,0001,003,0002,342,912
2Apr 22, 2026 09:403,877128,622,897111,437,0001,003,0002,326,528
3Apr 22, 2026 09:403,878130,496,265111,464,0001,004,0002,326,528
4Apr 22, 2026 09:403,878132,721,504111,480,0001,004,0002,326,528
5Apr 22, 2026 09:403,878131,702,970111,475,0001,004,0002,334,720
6Apr 22, 2026 09:403,879134,956,102111,512,0001,004,0002,326,528
7Apr 22, 2026 09:403,881125,927,932111,556,0001,005,0002,330,624
8Apr 22, 2026 09:403,883129,814,763112,631,00002,412,544
9Apr 22, 2026 09:403,883132,481,578111,605,0001,005,0002,342,912