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 21, 2021 22:36Yuriy LyfenkoYuriy LyfenkoScore: 6,406Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2021 23:065,779513,881,964167,591,945027,463,680
2Sep 21, 2021 22:365,798493,613,248168,149,892027,340,800
3Sep 21, 2021 23:065,807557,474,373168,400,806027,463,680
4Sep 21, 2021 22:365,821507,280,921168,799,952027,459,584
5Sep 21, 2021 22:365,836505,989,708169,251,778027,455,488
6Sep 21, 2021 23:065,859477,069,216169,901,878027,455,488
7Sep 21, 2021 23:066,386392,320,326157,867,00027,323,00033,456,128
8Sep 21, 2021 23:066,387380,916,033151,112,00034,122,00033,521,664
9Sep 21, 2021 22:366,395377,183,111156,065,00029,388,00033,927,168
10Sep 21, 2021 22:366,397386,577,382156,124,00029,400,00033,701,888
11Sep 21, 2021 22:366,400386,007,777156,194,00029,413,00033,714,176
12Sep 21, 2021 23:066,405386,909,181157,173,00028,576,00033,714,176
13Sep 21, 2021 22:366,406379,384,566152,179,00033,598,00033,980,416
14Sep 21, 2021 23:066,409387,066,612153,230,00032,623,00033,423,360
15Sep 21, 2021 23:066,418380,361,004149,279,00036,835,00033,873,920
16Sep 21, 2021 23:066,420394,180,259150,909,00035,277,00034,422,784
17Sep 21, 2021 23:066,425399,433,058155,100,00031,221,00034,013,184
18Sep 21, 2021 22:366,426378,865,360162,130,00024,214,00033,751,040
19Sep 21, 2021 22:366,429403,503,870158,632,00027,812,00035,311,616
20Sep 21, 2021 22:366,437394,604,840158,111,00028,561,00033,751,040
21Sep 21, 2021 23:066,438390,543,827152,125,00034,574,00033,832,960
22Sep 21, 2021 22:366,444400,315,875161,830,00025,057,00033,636,352
23Sep 21, 2021 22:366,450397,282,172160,192,00026,871,00034,357,248
24Sep 21, 2021 23:066,466378,819,359161,473,00026,044,00034,029,568