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:49Ilya AniskovetsIlya AniskovetsScore: 5,616Success
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:505,311459,024,005154,011,709027,455,488
2Sep 20, 2021 19:145,318483,643,408154,231,297027,373,568
3Sep 20, 2021 20:495,329469,790,354154,527,048027,455,488
4Sep 20, 2021 20:505,337437,100,265154,765,217027,455,488
5Sep 20, 2021 19:145,359469,129,725155,419,797027,455,488
6Sep 20, 2021 20:505,359441,266,964155,403,680027,394,048
7Sep 20, 2021 20:495,369457,157,322155,690,684027,455,488
8Sep 20, 2021 20:495,374463,493,317155,856,101027,455,488
9Sep 20, 2021 19:145,376492,929,887155,914,285027,459,584
10Sep 20, 2021 20:505,591364,283,945126,976,00035,162,00033,673,216
11Sep 20, 2021 20:505,592367,829,998142,581,00019,591,00033,292,288
12Sep 20, 2021 19:145,597366,486,653131,889,00030,436,00034,234,368
13Sep 20, 2021 20:505,598369,885,397133,580,00028,771,00033,751,040
14Sep 20, 2021 19:145,598371,758,837131,266,00031,063,00033,386,496
15Sep 20, 2021 19:145,599362,036,584129,688,00032,669,00033,472,512
16Sep 20, 2021 20:495,601357,427,618138,168,00024,258,00034,168,832
17Sep 20, 2021 19:145,614365,540,505130,655,00032,161,00033,460,224
18Sep 20, 2021 19:145,614355,104,634126,743,00036,073,00033,964,032
19Sep 20, 2021 19:145,616363,530,195135,035,00027,831,00033,865,728
20Sep 20, 2021 20:495,616373,743,083126,239,00036,619,00033,751,040
21Sep 20, 2021 20:495,616377,262,520130,288,00032,572,00034,074,624
22Sep 20, 2021 20:505,620347,978,936130,176,00032,792,00033,574,912
23Sep 20, 2021 20:495,623350,592,063139,608,00023,445,00033,939,456
24Sep 20, 2021 20:505,625355,610,043138,909,00024,203,00034,418,688
25Sep 20, 2021 20:495,626368,302,391134,422,00028,731,00033,460,224
26Sep 20, 2021 20:495,631376,212,078135,564,00027,729,00033,751,040
27Sep 20, 2021 20:505,632377,701,336134,561,00028,761,00034,000,896
28Sep 20, 2021 19:145,639357,923,106139,104,00024,422,00033,898,496
29Sep 20, 2021 20:495,653372,877,517137,293,00026,639,00033,816,576
30Sep 20, 2021 20:505,669376,143,619135,640,00028,772,00034,045,952
31Sep 20, 2021 20:505,669374,107,422136,828,00027,569,00033,640,448
32Sep 20, 2021 20:495,670374,989,023125,966,00038,463,00034,799,616
33Sep 20, 2021 20:495,674374,740,568131,235,00033,313,00035,336,192
34Sep 20, 2021 20:505,696368,407,445137,312,00027,875,00034,430,976
35Sep 20, 2021 19:145,714377,188,324136,891,00028,819,00033,718,272
36Sep 20, 2021 19:145,718378,744,506141,056,00024,765,00034,357,248