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 03:49Yuriy LyfenkoYuriy LyfenkoScore: 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 22, 2021 03:495,728514,405,627166,115,630027,463,680
2Sep 22, 2021 03:495,756450,060,069166,932,631027,463,680
3Sep 22, 2021 03:475,758559,528,103166,975,380027,451,392
4Sep 22, 2021 03:475,762443,568,074167,091,594027,455,488
5Sep 22, 2021 03:475,780441,709,592167,619,254027,467,776
6Sep 22, 2021 03:495,807486,653,639168,388,596027,455,488
7Sep 22, 2021 03:476,269390,374,778156,732,00025,077,00033,550,336
8Sep 22, 2021 03:496,284370,297,872152,865,00029,358,00033,976,320
9Sep 22, 2021 03:476,284374,161,888151,195,00031,040,00033,906,688
10Sep 22, 2021 03:476,284389,602,769151,191,00031,039,00033,902,592
11Sep 22, 2021 03:496,291387,845,825150,529,00031,900,00033,984,512
12Sep 22, 2021 03:476,293391,869,359149,949,00032,554,00034,017,280
13Sep 22, 2021 03:476,296378,144,819153,166,00029,416,00034,267,136
14Sep 22, 2021 03:476,296393,193,875155,775,00026,822,00034,267,136
15Sep 22, 2021 03:496,297367,271,894157,581,00025,045,00033,902,592
16Sep 22, 2021 03:496,297375,361,041149,226,00033,379,00034,242,560
17Sep 22, 2021 03:496,298390,427,946145,143,00037,487,00033,988,608
18Sep 22, 2021 03:476,302395,446,421161,266,00021,502,00033,681,408
19Sep 22, 2021 03:496,307388,730,598155,001,00027,900,00034,095,104
20Sep 22, 2021 03:496,309389,596,982151,630,00031,336,00034,058,240
21Sep 22, 2021 03:496,311400,501,883157,927,00025,100,00034,500,608
22Sep 22, 2021 03:476,311394,538,884161,618,00021,406,00033,583,104
23Sep 22, 2021 03:496,353402,190,891162,697,00021,549,00034,242,560
24Sep 22, 2021 03:476,364383,363,033161,088,00023,469,00035,323,904