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 15:06Yuriy LyfenkoYuriy LyfenkoScore: 5,835Success
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 15:065,620507,083,270162,971,262027,455,488
2Sep 22, 2021 14:145,622512,857,548163,025,482027,443,200
3Sep 22, 2021 14:295,625494,261,843163,133,321027,455,488
4Sep 22, 2021 15:065,652472,421,029163,911,516027,455,488
5Sep 22, 2021 14:145,654464,476,784163,972,358027,451,392
6Sep 22, 2021 14:295,656443,622,892164,030,185027,455,488
7Sep 22, 2021 14:295,675468,772,478164,565,342027,451,392
8Sep 22, 2021 15:065,688477,845,692164,950,369027,455,488
9Sep 22, 2021 14:145,744530,157,784166,579,682027,451,392
10Sep 22, 2021 14:145,808378,223,978142,603,00025,833,00033,452,032
11Sep 22, 2021 14:145,815358,121,377148,217,00020,406,00034,078,720
12Sep 22, 2021 14:295,819358,192,961133,639,00035,116,00033,902,592
13Sep 22, 2021 15:065,820363,026,728139,289,00029,484,00033,980,416
14Sep 22, 2021 14:145,822376,327,888140,176,00028,649,00033,910,784
15Sep 22, 2021 14:295,822381,597,686137,686,00031,155,00033,832,960
16Sep 22, 2021 14:145,823383,708,379141,402,00027,466,00033,943,552
17Sep 22, 2021 14:145,824369,592,016139,561,00029,328,00034,013,184
18Sep 22, 2021 14:295,827387,660,266144,681,00024,289,00033,648,640
19Sep 22, 2021 15:065,835382,536,042138,994,00030,216,00033,898,496
20Sep 22, 2021 14:295,836358,819,040138,852,00030,405,00034,242,560
21Sep 22, 2021 14:295,837380,617,191142,269,00026,999,00033,648,640
22Sep 22, 2021 15:065,844372,501,444136,582,00032,899,00033,894,400
23Sep 22, 2021 14:295,846392,055,118145,325,00024,220,00034,164,736
24Sep 22, 2021 14:145,849381,139,449136,687,00032,924,00034,140,160
25Sep 22, 2021 15:065,849382,952,546141,686,00027,923,00033,980,416
26Sep 22, 2021 15:065,850356,815,397141,037,00028,616,00034,373,632
27Sep 22, 2021 14:295,851355,434,096144,380,00025,292,00033,894,400
28Sep 22, 2021 15:065,856384,645,228142,039,00027,790,00033,918,976
29Sep 22, 2021 14:145,857381,864,722141,886,00027,963,00034,013,184
30Sep 22, 2021 15:065,859387,313,909131,728,00038,182,00034,095,104
31Sep 22, 2021 15:065,861366,563,620138,605,00031,363,00033,894,400
32Sep 22, 2021 14:295,862380,329,947140,487,00029,522,00033,902,592
33Sep 22, 2021 14:295,862387,776,827140,483,00029,521,00034,275,328
34Sep 22, 2021 14:145,862367,246,406141,139,00028,846,00033,914,880
35Sep 22, 2021 14:145,871383,832,674151,467,00018,795,00034,582,528
36Sep 22, 2021 15:065,883380,516,091140,985,00029,627,00034,226,176