+ import std.math; import std.typecons; - import std.math; /* The Brazilian factorial is defined as: - brazilian_factorial(n) = n! * (n-1)! * (n-2)! * ... * 1! ? ---- + brazilian_factorial(n) = n! * (n-1)! * (n-2)! * ... * 1! - where n > 0 ? ---- + where n > 0 - - For example: ? ---- + For example: - >>> special_factorial(4L) ? ---- + >>> special_factorial(4L) + 288L - 288L - - The function will receive an integer as input and should return the special ? ---- + The function will receive an integer as input and should return the special - factorial of this integer. ? ---- + factorial of this integer. - */ long special_factorial(long n)