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 20, 2021 17:56Ilya AniskovetsIlya AniskovetsScore: 6,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 20, 2021 17:566,247501,544,537181,150,389027,455,488
2Sep 20, 2021 18:116,252503,184,329181,298,102027,455,488
3Sep 20, 2021 18:356,261471,981,235181,582,740027,455,488
4Sep 20, 2021 18:356,267524,014,371181,743,079027,422,720
5Sep 20, 2021 18:116,274395,700,840144,402,00037,544,00033,583,104
6Sep 20, 2021 17:566,275382,301,365151,658,00030,331,00033,980,416
7Sep 20, 2021 18:116,278396,027,816150,884,00031,182,00034,013,184
8Sep 20, 2021 18:116,281509,822,470182,145,138027,455,488
9Sep 20, 2021 18:116,282379,089,510148,692,00033,480,00033,411,072
10Sep 20, 2021 18:356,282368,601,373150,491,00031,682,00033,701,888
11Sep 20, 2021 18:356,286398,195,540153,611,00028,674,00033,751,040
12Sep 20, 2021 18:356,289522,774,947182,375,459027,467,776
13Sep 20, 2021 18:116,289383,886,563155,740,00026,639,00034,013,184
14Sep 20, 2021 18:116,290395,403,373151,516,00030,901,00033,751,040
15Sep 20, 2021 17:566,291391,899,691147,306,00035,119,00033,980,416
16Sep 20, 2021 18:356,292386,516,621149,741,00032,724,00033,632,256
17Sep 20, 2021 18:356,292387,302,995152,065,00030,413,00033,902,592
18Sep 20, 2021 18:356,293377,805,599151,411,00031,084,00033,849,344
19Sep 20, 2021 17:566,296385,387,249150,648,00031,925,00034,168,832
20Sep 20, 2021 17:566,298371,219,587145,725,00036,917,00033,902,592
21Sep 20, 2021 17:566,298462,718,605182,635,405027,459,584
22Sep 20, 2021 18:116,302389,015,780146,216,00036,554,00033,792,000
23Sep 20, 2021 17:566,304407,071,222161,569,00021,259,00034,582,528
24Sep 20, 2021 18:356,307394,660,100154,120,00028,769,00033,980,416
25Sep 20, 2021 18:116,308388,596,557149,133,00033,803,00035,143,680
26Sep 20, 2021 18:116,313398,922,173153,069,00030,013,00033,718,272
27Sep 20, 2021 17:566,314398,041,409151,907,00031,186,00034,013,184
28Sep 20, 2021 17:566,316390,621,688151,308,00031,854,00033,996,800
29Sep 20, 2021 17:566,317447,949,540183,207,031027,451,392
30Sep 20, 2021 18:356,320388,720,887153,906,00029,363,00034,164,736
31Sep 20, 2021 17:566,321387,658,544149,614,00033,687,00034,246,656
32Sep 20, 2021 18:116,322398,218,922159,243,00024,095,00033,746,944
33Sep 20, 2021 18:356,332404,892,827153,890,00029,752,00034,332,672
34Sep 20, 2021 18:356,343399,371,085159,628,00024,314,00033,751,040
35Sep 20, 2021 17:566,350399,406,045159,937,00024,201,00033,980,416
36Sep 20, 2021 18:116,394492,669,901185,430,000027,455,488