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 16:18Yuriy LyfenkoYuriy LyfenkoScore: 5,719Success
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 16:185,531473,846,642160,404,919027,340,800
2Sep 22, 2021 16:185,533447,114,556160,466,958027,455,488
3Sep 22, 2021 16:205,534446,639,614160,484,383027,463,680
4Sep 22, 2021 16:135,544454,593,938160,779,775027,467,776
5Sep 22, 2021 16:135,547486,293,637160,868,157027,451,392
6Sep 22, 2021 16:185,552447,404,593161,005,454027,455,488
7Sep 22, 2021 16:185,566488,577,613161,406,502027,455,488
8Sep 22, 2021 16:185,569463,926,235161,505,855027,463,680
9Sep 22, 2021 16:205,570497,480,197161,516,113027,455,488
10Sep 22, 2021 16:185,583491,336,732161,907,306027,455,488
11Sep 22, 2021 16:135,588484,268,023162,054,373027,455,488
12Sep 22, 2021 16:205,603450,587,553162,494,313027,463,680
13Sep 22, 2021 16:205,706348,770,888134,582,00030,904,00033,562,624
14Sep 22, 2021 16:185,706352,499,314138,746,00026,721,00033,185,792
15Sep 22, 2021 16:185,706365,993,682128,911,00036,556,00033,746,944
16Sep 22, 2021 16:135,707370,569,842134,593,00030,906,00033,386,496
17Sep 22, 2021 16:185,707375,317,263139,647,00025,860,00033,660,928
18Sep 22, 2021 16:205,709378,880,424140,406,00025,147,00033,849,344
19Sep 22, 2021 16:135,712375,766,808138,723,00026,916,00033,849,344
20Sep 22, 2021 16:185,712361,858,832137,015,00028,630,00033,910,784
21Sep 22, 2021 16:185,712360,883,496131,536,00034,101,00033,701,888
22Sep 22, 2021 16:185,716348,477,022133,814,00031,955,00033,714,176
23Sep 22, 2021 16:205,716368,928,853133,208,00032,562,00033,751,040
24Sep 22, 2021 16:205,717354,219,673135,472,00030,329,00034,111,488
25Sep 22, 2021 16:205,719385,546,987131,708,00034,146,00033,546,240
26Sep 22, 2021 16:185,719353,626,489131,504,00034,348,00033,812,480
27Sep 22, 2021 16:185,720377,992,630129,978,00035,889,00033,988,608
28Sep 22, 2021 16:205,721372,127,501138,091,00027,824,00033,456,128
29Sep 22, 2021 16:185,722375,999,962135,757,00030,168,00033,902,592
30Sep 22, 2021 16:205,726344,479,110135,042,00031,009,00033,718,272
31Sep 22, 2021 16:135,727350,211,834140,854,00025,227,00033,902,592
32Sep 22, 2021 16:135,728376,514,674139,982,00026,116,00033,710,080
33Sep 22, 2021 16:185,729381,309,733135,761,00030,394,00034,529,280
34Sep 22, 2021 16:185,729369,290,292138,621,00027,520,00033,812,480
35Sep 22, 2021 16:185,730376,535,028138,301,00027,866,00034,115,584
36Sep 22, 2021 16:135,730383,088,792137,788,00028,368,00033,812,480
37Sep 22, 2021 16:185,731367,416,927136,628,00029,568,00034,193,408
38Sep 22, 2021 16:185,732360,494,001142,027,00024,197,00033,751,040
39Sep 22, 2021 16:185,734379,582,724144,700,00021,597,00034,004,992
40Sep 22, 2021 16:205,735384,949,654140,324,00025,986,00034,770,944
41Sep 22, 2021 16:135,735349,901,450130,740,00035,569,00034,164,736
42Sep 22, 2021 16:185,743371,349,674132,457,00034,088,00033,964,032
43Sep 22, 2021 16:185,746381,346,080141,472,00025,150,00034,951,168
44Sep 22, 2021 16:205,752374,203,182135,852,00030,966,00034,533,376
45Sep 22, 2021 16:135,756377,286,793139,281,00027,651,00034,136,064
46Sep 22, 2021 16:185,757385,167,519134,775,00032,185,00034,430,976
47Sep 22, 2021 16:135,758377,615,877142,521,00024,462,00033,816,576
48Sep 22, 2021 16:135,765367,426,906134,349,00032,841,00034,136,064