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 04:43Yuriy LyfenkoYuriy LyfenkoScore: 5,572Success
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 04:435,224440,315,320151,484,882027,443,200
2Oct 11, 2021 04:405,229457,284,053151,649,645027,439,104
3Oct 11, 2021 04:435,248428,123,396152,195,889027,439,104
4Oct 11, 2021 04:405,266438,581,757152,721,272027,439,104
5Oct 11, 2021 04:435,296456,082,487153,576,054027,439,104
6Oct 11, 2021 04:405,302446,818,969153,744,225027,361,280
7Oct 11, 2021 04:405,550369,439,147133,262,00027,677,00033,714,176
8Oct 11, 2021 04:435,554362,077,586137,019,00024,056,00033,476,608
9Oct 11, 2021 04:405,560361,688,191137,164,00024,082,00033,447,936
10Oct 11, 2021 04:405,563352,462,640140,901,00020,436,00034,025,472
11Oct 11, 2021 04:405,568351,793,166123,929,00037,554,00034,189,312
12Oct 11, 2021 04:435,572345,299,528128,874,00032,714,00033,763,328
13Oct 11, 2021 04:405,572348,487,807131,654,00029,921,00034,025,472
14Oct 11, 2021 04:435,575368,035,042128,160,00033,518,00033,796,096
15Oct 11, 2021 04:405,578372,965,117133,270,00028,485,00033,517,568
16Oct 11, 2021 04:405,580365,652,736134,002,00027,831,00034,013,184
17Oct 11, 2021 04:435,581366,389,861129,273,00032,565,00034,398,208
18Oct 11, 2021 04:405,582374,795,642144,264,00017,620,00034,091,008
19Oct 11, 2021 04:435,582347,123,473136,104,00025,777,00033,763,328
20Oct 11, 2021 04:435,582373,431,324130,896,00030,975,00033,746,944
21Oct 11, 2021 04:405,586361,098,982129,209,00032,799,00034,058,240
22Oct 11, 2021 04:435,599374,857,494131,495,00030,881,00034,271,232
23Oct 11, 2021 04:435,607379,274,547137,419,00025,176,00034,275,328
24Oct 11, 2021 04:435,609377,661,367136,416,00026,233,00034,025,472