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 21, 2021 04:55Yuriy LyfenkoYuriy LyfenkoScore: 6,203Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2021 04:556,170866,550,818151,324,00027,606,00033,734,656
2Sep 21, 2021 04:556,178889,715,627152,536,00026,617,00033,480,704
3Sep 21, 2021 04:556,187876,716,466157,116,00022,293,00033,923,072
4Sep 21, 2021 04:556,187879,143,884151,745,00027,683,00033,988,608
5Sep 21, 2021 04:556,189862,027,422147,582,00031,909,00033,640,448
6Sep 21, 2021 04:556,196892,650,047150,233,00029,437,00033,845,248
7Sep 21, 2021 04:556,203888,045,909146,105,00033,793,00033,980,416
8Sep 21, 2021 04:556,204883,658,574149,584,00030,321,00033,984,512
9Sep 21, 2021 04:556,213886,905,929148,322,00031,854,00033,718,272
10Sep 21, 2021 04:556,4271,007,754,432186,395,576027,459,584
11Sep 21, 2021 04:556,440984,411,583186,767,773027,467,776
12Sep 21, 2021 04:556,5121,106,513,000188,858,492027,451,392