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 listOct 11, 2021 03:43Yuriy LyfenkoYuriy LyfenkoScore: 5,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2021 03:525,437492,143,784157,679,185027,439,104
2Oct 11, 2021 03:435,440481,074,913157,750,995027,451,392
3Oct 11, 2021 03:435,468440,816,043158,573,133027,443,200
4Oct 11, 2021 03:525,472435,882,768158,692,684027,447,296
5Oct 11, 2021 03:435,476430,792,529158,790,696027,447,296
6Oct 11, 2021 03:525,484477,053,822159,038,119027,443,200
7Oct 11, 2021 03:525,648363,931,901132,831,00030,960,00033,501,184
8Oct 11, 2021 03:525,656372,473,853133,844,00030,190,00033,927,168
9Oct 11, 2021 03:525,659366,180,390133,915,00030,206,00034,041,856
10Oct 11, 2021 03:435,663369,723,276134,828,00029,398,00033,845,248
11Oct 11, 2021 03:435,667353,005,924129,340,00035,009,00033,468,416
12Oct 11, 2021 03:435,673347,652,986139,531,00024,990,00034,320,384
13Oct 11, 2021 03:435,673370,269,895135,069,00029,451,00033,636,352
14Oct 11, 2021 03:525,674375,793,957131,834,00032,710,00033,796,096
15Oct 11, 2021 03:525,675371,048,625134,297,00030,292,00033,894,400
16Oct 11, 2021 03:525,677360,247,580138,583,00026,049,00034,021,376
17Oct 11, 2021 03:435,679365,184,155144,115,00020,587,00034,058,240
18Oct 11, 2021 03:435,680361,079,166131,985,00032,748,00034,549,760
19Oct 11, 2021 03:525,685355,883,174135,364,00029,515,00034,304,000
20Oct 11, 2021 03:435,690375,492,271130,642,00034,379,00033,763,328
21Oct 11, 2021 03:435,692374,952,013139,119,00025,955,00034,062,336
22Oct 11, 2021 03:525,695368,870,465132,315,00032,830,00033,746,944
23Oct 11, 2021 03:525,698358,617,916139,258,00025,980,00033,964,032
24Oct 11, 2021 03:435,719382,010,660141,556,00024,296,00034,058,240