Posted on

Description

Submission

  • Python is better at handling BigInteger Problem than C++
#!/bin/python3

import math
import os
import random
import re
import sys

# Complete the extraLongFactorials function below.
def extraLongFactorials(n):
    res = 1
    for i in range(1, n+1):
        res = res * i
    print(res)

if __name__ == '__main__':
    n = int(input())

    extraLongFactorials(n)

Leave a Reply

Your email address will not be published. Required fields are marked *