Click Here to see the problem detail.


To ignore all the non-sense, if the input is between 8 to 13, print n!. It’s always overflow if n >= 14, and always underflow from 0 to 7. For negative numbers, negative odd numbers are overflows and negative even numbers are underflows.

Source Code


Next Previous