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 15:22Yuriy LyfenkoYuriy LyfenkoScore: 5,711Success
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 15:225,519447,418,763160,037,599027,455,488
2Sep 22, 2021 15:245,524430,307,229160,207,117027,455,488
3Sep 22, 2021 16:115,537502,699,758160,574,002027,459,584
4Sep 22, 2021 16:115,547489,522,193160,854,756027,459,584
5Sep 22, 2021 15:225,551462,826,224160,972,630027,455,488
6Sep 22, 2021 15:245,551472,962,648160,975,017027,455,488
7Sep 22, 2021 16:115,576451,683,149161,697,321027,455,488
8Sep 22, 2021 15:225,579528,152,784161,800,499027,467,776
9Sep 22, 2021 15:245,590479,005,160162,117,675027,459,584
10Sep 22, 2021 15:245,686362,117,067133,119,00031,789,00033,382,400
11Sep 22, 2021 16:115,689376,034,749134,812,00030,181,00033,697,792
12Sep 22, 2021 15:245,694374,161,498136,578,00028,538,00033,746,944
13Sep 22, 2021 15:245,700373,897,723133,632,00031,675,00033,718,272
14Sep 22, 2021 16:115,706350,051,353136,864,00028,598,00033,902,592
15Sep 22, 2021 16:115,706376,066,141140,641,00024,819,00033,718,272
16Sep 22, 2021 15:225,707359,078,997140,365,00025,140,00033,456,128
17Sep 22, 2021 15:245,708349,311,935136,933,00028,612,00033,882,112
18Sep 22, 2021 15:245,709372,845,530129,727,00035,820,00033,980,416
19Sep 22, 2021 16:115,711372,010,702129,038,00036,593,00033,591,296
20Sep 22, 2021 15:245,712370,219,557137,190,00028,454,00033,640,448
21Sep 22, 2021 15:225,715376,749,055132,205,00033,544,00034,209,792
22Sep 22, 2021 15:225,716380,272,893140,591,00025,180,00033,554,432
23Sep 22, 2021 16:115,720368,418,637138,073,00027,820,00033,488,896
24Sep 22, 2021 15:225,721383,658,079139,824,00026,086,00034,226,176
25Sep 22, 2021 16:115,724348,496,436135,640,00030,367,00033,816,576
26Sep 22, 2021 15:245,724365,719,908139,901,00026,101,00033,980,416
27Sep 22, 2021 15:225,725380,563,132140,096,00025,943,00034,107,392
28Sep 22, 2021 16:115,731376,682,654140,956,00025,245,00034,111,488
29Sep 22, 2021 16:115,732363,310,354130,262,00035,968,00033,767,424
30Sep 22, 2021 15:245,733379,433,365141,904,00024,356,00034,013,184
31Sep 22, 2021 15:225,737385,066,803137,613,00028,755,00034,111,488
32Sep 22, 2021 16:115,741374,328,406127,477,00039,004,00033,898,496
33Sep 22, 2021 15:245,742366,545,013133,605,00032,902,00034,488,320
34Sep 22, 2021 15:225,770365,883,281142,978,00024,359,00034,250,752
35Sep 22, 2021 15:225,771356,124,043140,172,00027,197,00033,849,344
36Sep 22, 2021 15:225,801396,551,598144,658,00023,573,00035,684,352