In the second test case you need to calculate $$$9!! \mod 900$$$; $$$9!! = 9 * 7 * 5 * 3…
- User
In the second test case you need to calculate ; .
Assistant
Understanding Double Factorial
The double factorial is defined as the product of all integers from down to 1 or 2, stepping by 2:
- For odd :