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 22, 2021 03:55Yuriy LyfenkoYuriy LyfenkoScore: 6,310Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2021 03:555,795497,455,869168,044,538027,451,392
2Sep 22, 2021 03:555,821493,782,148168,806,879027,459,584
3Sep 22, 2021 03:555,831652,816,610169,084,988027,447,296
4Sep 22, 2021 03:556,283381,748,072151,183,00031,037,00033,603,584
5Sep 22, 2021 03:556,292388,756,850157,456,00025,026,00033,644,544
6Sep 22, 2021 03:556,298378,790,605150,699,00031,936,00033,550,336
7Sep 22, 2021 03:556,310402,891,552154,360,00028,623,00033,980,416
8Sep 22, 2021 03:556,313399,804,604150,416,00032,656,00034,504,704
9Sep 22, 2021 03:556,318396,324,156155,584,00027,636,00034,275,328
10Sep 22, 2021 03:556,319393,982,776161,826,00021,433,00033,587,200
11Sep 22, 2021 03:556,320383,066,494155,483,00027,801,00033,669,120
12Sep 22, 2021 03:556,346397,557,856156,269,00027,758,00033,976,320