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 05:49Ilya AniskovetsIlya AniskovetsScore: 5,546Success
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 05:435,244430,831,267152,064,498027,435,008
2Oct 11, 2021 05:495,247463,817,941152,170,272027,435,008
3Oct 11, 2021 05:435,258429,084,999152,480,314027,426,816
4Oct 11, 2021 05:495,281495,663,851153,137,199027,451,392
5Oct 11, 2021 05:495,284513,713,925153,235,594027,451,392
6Oct 11, 2021 05:435,294475,201,498153,536,445027,451,392
7Oct 11, 2021 05:495,518346,080,294134,922,00025,101,00033,644,544
8Oct 11, 2021 05:495,520364,410,916136,758,00023,323,00033,263,616
9Oct 11, 2021 05:435,531359,043,723129,317,00031,076,00033,611,776
10Oct 11, 2021 05:495,533354,589,204125,441,00035,007,00033,849,344
11Oct 11, 2021 05:435,534360,508,691131,864,00028,621,00034,013,184
12Oct 11, 2021 05:435,540375,640,942127,151,00033,512,00033,849,344
13Oct 11, 2021 05:435,546359,775,563125,751,00035,093,00033,624,064
14Oct 11, 2021 05:435,551373,944,519129,795,00031,191,00034,013,184
15Oct 11, 2021 05:495,551365,887,599136,625,00024,359,00033,562,624
16Oct 11, 2021 05:495,555373,846,115122,245,00038,853,00033,886,208
17Oct 11, 2021 05:495,565363,923,569136,063,00025,314,00033,935,360
18Oct 11, 2021 05:495,580366,860,807134,844,00026,968,00033,517,568
19Oct 11, 2021 05:495,581383,589,269125,023,00036,828,00034,897,920
20Oct 11, 2021 05:435,581360,289,702131,501,00030,346,00034,111,488
21Oct 11, 2021 05:435,601353,724,985131,981,00030,457,00033,964,032
22Oct 11, 2021 05:435,609353,111,740132,342,00030,307,00034,078,720
23Oct 11, 2021 05:495,624378,624,300144,369,00018,735,00034,271,232
24Oct 11, 2021 05:435,631370,271,195128,866,00034,429,00033,701,888