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 listOct 10, 2021 03:44Yuriy LyfenkoYuriy LyfenkoScore: 5,657Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2021 03:445,498455,027,420159,448,229027,451,392
2Oct 10, 2021 03:445,500414,913,760159,513,962027,455,488
3Oct 10, 2021 03:445,554486,736,379161,076,215027,459,584
4Oct 10, 2021 03:445,631369,724,293137,301,00026,004,00033,734,656
5Oct 10, 2021 03:445,643368,540,335130,130,00033,518,00033,980,416
6Oct 10, 2021 03:445,648375,478,188132,827,00030,959,00033,374,208
7Oct 10, 2021 03:445,657353,061,785138,265,00025,795,00033,591,296
8Oct 10, 2021 03:445,670364,574,794129,188,00035,233,00033,902,592
9Oct 10, 2021 03:445,686372,167,430140,588,00024,312,00033,968,128
10Oct 10, 2021 03:445,695377,434,941131,328,00033,826,00035,323,904
11Oct 10, 2021 03:445,713385,895,993127,902,00037,789,00035,213,312
12Oct 10, 2021 03:445,720391,625,837137,887,00027,992,00034,078,720