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 25, 2021 22:52Ilya AniskovetsIlya AniskovetsScore: 5,543Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 25, 2021 22:545,269438,676,352152,803,598027,455,488
2Sep 25, 2021 22:515,282454,681,527153,185,676027,451,392
3Sep 25, 2021 22:525,299446,360,533153,657,406027,455,488
4Sep 25, 2021 22:525,324488,220,095154,410,070027,459,584
5Sep 25, 2021 22:515,338511,944,703154,807,226027,459,584
6Sep 25, 2021 22:545,338534,395,563154,798,306027,455,488
7Sep 25, 2021 22:525,347506,322,431155,070,363027,463,680
8Sep 25, 2021 22:515,353494,534,627155,238,122027,459,584
9Sep 25, 2021 22:545,412486,492,027156,955,388027,455,488
10Sep 25, 2021 22:545,517354,475,346128,003,00032,000,00033,603,584
11Sep 25, 2021 22:545,519358,199,168131,315,00028,725,00033,718,272
12Sep 25, 2021 22:545,523345,428,271125,994,00034,184,00033,906,688
13Sep 25, 2021 22:525,526369,073,182128,212,00032,053,00033,751,040
14Sep 25, 2021 22:545,529346,420,972127,679,00032,662,00033,636,352
15Sep 25, 2021 22:545,536359,712,317123,793,00036,751,00034,000,896
16Sep 25, 2021 22:515,537353,378,461133,823,00026,764,00034,205,696
17Sep 25, 2021 22:545,538359,027,314130,933,00029,664,00033,714,176
18Sep 25, 2021 22:545,538369,668,794126,328,00034,275,00033,898,496
19Sep 25, 2021 22:525,543351,471,224129,597,00031,143,00034,160,640
20Sep 25, 2021 22:515,544351,628,172130,445,00030,336,00033,996,800
21Sep 25, 2021 22:515,546364,980,954134,905,00025,943,00033,644,544
22Sep 25, 2021 22:515,547372,763,682128,299,00032,568,00033,837,056
23Sep 25, 2021 22:515,548364,810,469132,202,00028,695,00033,718,272
24Sep 25, 2021 22:525,551354,234,496129,783,00031,188,00034,009,088
25Sep 25, 2021 22:545,557374,160,444128,919,00032,229,00034,000,896
26Sep 25, 2021 22:525,559374,190,802139,560,00021,637,00033,902,592
27Sep 25, 2021 22:525,561366,251,599131,861,00029,415,00034,013,184
28Sep 25, 2021 22:525,566379,190,115127,750,00033,670,00034,160,640
29Sep 25, 2021 22:525,571371,291,815136,378,00025,177,00034,045,952
30Sep 25, 2021 22:525,573373,729,006143,902,00017,711,00033,828,864
31Sep 25, 2021 22:515,580369,450,541129,668,00032,165,00035,094,528
32Sep 25, 2021 22:525,590367,256,604125,219,00036,886,00033,452,032
33Sep 25, 2021 22:545,596374,625,099126,544,00035,741,00034,013,184
34Sep 25, 2021 22:515,597373,401,565135,436,00026,880,00033,980,416
35Sep 25, 2021 22:515,626361,627,787135,953,00027,190,00035,467,264
36Sep 25, 2021 22:515,638379,702,909134,698,00028,790,00033,718,272