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 20, 2021 20:50Ilya AniskovetsIlya AniskovetsScore: 5,947Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 20, 2021 20:485,472394,462,161158,683,302027,459,584
2Sep 20, 2021 20:485,482450,372,394158,973,084027,340,800
3Sep 20, 2021 20:255,487456,934,018159,133,436027,451,392
4Sep 20, 2021 20:505,507455,456,730159,710,871027,451,392
5Sep 20, 2021 20:255,508456,413,084159,737,902027,455,488
6Sep 20, 2021 20:485,525378,646,740160,224,760027,459,584
7Sep 20, 2021 20:255,538446,752,087160,607,120027,459,584
8Sep 20, 2021 20:505,538438,757,290160,610,889027,455,488
9Sep 20, 2021 20:505,550516,243,570160,959,487027,471,872
10Sep 20, 2021 20:485,894360,241,612130,709,00040,218,00033,902,592
11Sep 20, 2021 20:505,906384,378,862144,503,00026,759,00033,669,120
12Sep 20, 2021 20:255,915361,179,702134,981,00036,541,00033,685,504
13Sep 20, 2021 20:255,930392,138,883132,524,00039,459,00033,828,864
14Sep 20, 2021 20:255,932374,133,644141,631,00030,411,00033,894,400
15Sep 20, 2021 20:485,942392,091,996135,992,00036,312,00033,718,272
16Sep 20, 2021 20:505,943393,803,171141,541,00030,819,00033,964,032
17Sep 20, 2021 20:255,944372,112,923136,958,00035,404,00034,115,584
18Sep 20, 2021 20:485,944389,172,715139,795,00032,594,00033,619,968
19Sep 20, 2021 20:505,947386,813,573136,707,00035,766,00034,242,560
20Sep 20, 2021 20:485,951381,572,615135,826,00036,765,00034,373,632
21Sep 20, 2021 20:485,953382,843,589138,262,00034,361,00034,172,928
22Sep 20, 2021 20:255,964393,708,720143,892,00029,076,00033,918,976
23Sep 20, 2021 20:505,965382,781,939137,270,00035,727,00033,910,784
24Sep 20, 2021 20:485,967384,043,267138,804,00034,250,00034,115,584
25Sep 20, 2021 20:505,967381,989,694141,878,00031,170,00033,980,416
26Sep 20, 2021 20:255,970399,026,464137,928,00035,215,00033,882,112
27Sep 20, 2021 20:485,971396,154,485143,392,00029,775,00033,894,400
28Sep 20, 2021 20:505,972392,626,437134,603,00038,580,00034,013,184
29Sep 20, 2021 20:255,975402,574,203130,182,00043,082,00034,168,832
30Sep 20, 2021 20:255,983406,794,222133,255,00040,254,00033,976,320
31Sep 20, 2021 20:505,984396,693,214131,386,00042,161,00033,984,512
32Sep 20, 2021 20:255,986400,778,593141,705,00031,883,00033,939,456
33Sep 20, 2021 20:505,990391,401,274129,853,00043,857,00033,374,208
34Sep 20, 2021 20:486,005402,226,957137,797,00036,351,00034,623,488
35Sep 20, 2021 20:506,058404,893,202133,234,00042,437,00035,471,360
36Sep 20, 2021 20:486,066412,098,113130,477,00045,434,00035,409,920