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 listSep 26, 2021 07:12Ilya AniskovetsIlya AniskovetsScore: 5,566Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2021 07:125,239449,869,289151,929,035027,455,488
2Sep 26, 2021 07:125,294484,613,711153,531,778027,410,432
3Sep 26, 2021 07:125,362485,765,733155,494,246027,455,488
4Sep 26, 2021 07:125,547344,192,714132,179,00028,690,00034,013,184
5Sep 26, 2021 07:125,549378,155,504124,300,00036,615,00034,197,504
6Sep 26, 2021 07:125,555366,327,568126,724,00034,382,00033,816,576
7Sep 26, 2021 07:125,566366,253,705126,972,00034,449,00033,644,544
8Sep 26, 2021 07:125,572373,212,663129,674,00031,919,00033,751,040
9Sep 26, 2021 07:125,574348,519,908132,809,00028,826,00033,996,800
10Sep 26, 2021 07:125,580372,002,304131,285,00030,531,00033,980,416
11Sep 26, 2021 07:125,594377,135,796134,154,00028,078,00033,808,384
12Sep 26, 2021 07:125,598372,079,180136,146,00026,182,00034,279,424