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 18:17Yuriy LyfenkoYuriy LyfenkoScore: 5,670Success
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 18:175,426494,629,535157,364,097027,443,200
2Sep 22, 2021 16:385,430453,697,190157,458,224027,447,296
3Sep 22, 2021 18:195,431448,312,159157,492,548027,447,296
4Sep 22, 2021 16:385,439485,150,795157,743,873027,447,296
5Sep 22, 2021 18:195,469458,650,310158,611,176027,447,296
6Sep 22, 2021 18:175,470460,645,661158,620,960027,447,296
7Sep 22, 2021 18:195,485527,081,988159,075,824027,443,200
8Sep 22, 2021 18:175,488518,577,344159,149,593027,439,104
9Sep 22, 2021 16:385,515460,779,846159,940,631027,443,200
10Sep 22, 2021 18:175,646352,694,449136,098,00027,629,00033,628,160
11Sep 22, 2021 18:175,647365,042,786137,854,00025,912,00033,722,368
12Sep 22, 2021 16:385,655349,408,450134,632,00029,355,00033,730,560
13Sep 22, 2021 18:175,655360,649,007131,589,00032,406,00033,251,328
14Sep 22, 2021 18:195,658354,034,444133,873,00030,196,00034,041,856
15Sep 22, 2021 18:195,661362,014,713134,143,00030,032,00034,058,240
16Sep 22, 2021 16:385,663377,390,868136,525,00027,715,00033,488,896
17Sep 22, 2021 18:195,663355,439,549128,473,00035,740,00033,865,728
18Sep 22, 2021 18:195,667377,078,402138,343,00026,004,00034,041,856
19Sep 22, 2021 16:385,670375,951,600127,885,00036,538,00034,189,312
20Sep 22, 2021 18:175,672368,951,926141,303,00023,199,00034,058,240
21Sep 22, 2021 16:385,672375,156,340132,782,00031,709,00034,390,016
22Sep 22, 2021 18:195,677383,985,941138,746,00025,885,00034,533,376
23Sep 22, 2021 16:385,678357,283,377138,609,00026,054,00033,492,992
24Sep 22, 2021 16:385,678349,598,426133,105,00031,550,00033,722,368
25Sep 22, 2021 16:385,680362,936,776137,093,00027,623,00034,512,896
26Sep 22, 2021 18:175,680362,042,397143,186,00021,531,00034,709,504
27Sep 22, 2021 16:385,683375,871,201132,845,00031,962,00033,763,328
28Sep 22, 2021 18:195,686381,236,280129,223,00035,681,00034,316,288
29Sep 22, 2021 18:175,688376,719,029138,851,00026,099,00033,554,432
30Sep 22, 2021 18:175,695367,765,301143,713,00021,449,00034,336,768
31Sep 22, 2021 18:175,699371,829,597139,277,00025,984,00034,009,088
32Sep 22, 2021 18:195,707383,787,479134,214,00031,283,00034,013,184
33Sep 22, 2021 16:385,709373,269,623136,095,00029,453,00034,287,616
34Sep 22, 2021 18:175,712379,835,269137,183,00028,452,00034,742,272
35Sep 22, 2021 18:195,733385,870,848129,316,00036,947,00034,844,672
36Sep 22, 2021 18:195,738376,565,964139,204,00027,212,00034,799,616