ncr for large values of n
how to calculate ncr % M when the value of n has greater range(n <= 10^12). M = 10^9 + 7.
ICPC NAC 2024 live broadcast