fork download
  1. # your code goes here
  2. import math
  3. from math import factorial as f
  4.  
  5. c = f(1000)//f(500)//f(500)
  6. print(c)
Success #stdin #stdout 0.02s 9164KB
stdin
Standard input is empty
stdout
270288240945436569515614693625975275496152008446548287007392875106625428705522193898612483924502370165362606085021546104802209750050679917549894219699518475423665484263751733356162464079737887344364574161119497604571044985756287880514600994219426752366915856603136862602484428109296905863799821216320