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 21, 2021 05:21Yuriy LyfenkoYuriy LyfenkoScore: 6,186Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2021 05:216,144386,607,257145,511,00032,665,00033,361,920
2Sep 21, 2021 05:216,148383,062,654155,083,00023,209,00033,726,464
3Sep 21, 2021 05:216,150368,001,838146,643,00031,706,00033,980,416
4Sep 21, 2021 05:216,158358,063,013150,015,00028,574,00033,648,640
5Sep 21, 2021 05:216,168394,015,124145,087,00033,787,00033,898,496
6Sep 21, 2021 05:216,185384,115,649144,864,00034,491,00034,164,736
7Sep 21, 2021 05:216,186386,653,186140,264,00039,121,00033,714,176
8Sep 21, 2021 05:216,204388,753,970148,578,00031,332,00034,361,344
9Sep 21, 2021 05:216,204395,326,704150,278,00029,646,00034,258,944
10Sep 21, 2021 05:216,503542,557,477188,574,771027,447,296
11Sep 21, 2021 05:216,534473,179,896189,499,742027,447,296
12Sep 21, 2021 05:216,547554,514,581189,852,921027,447,296