← All problems‹ PrevNext ›FactorialEasy#basics#loops#math· solved by 0 · time limit 2.0 sPrint n!=1×2×⋯×nn! = 1 \times 2 \times \dots \times nn!=1×2×⋯×n. By definition 0!=10! = 10!=1.InputA single integer nnn.Outputn!n!n!Constraints0≤n≤200 \le n \le 200≤n≤20 (fits in a 64-bit integer).Sample 1Input5 Output120Sample 2Input0 Output1