Sort by

recency

|

4 Discussions

|

  • + 0 comments

    mod = 10**9+7 MAX = 1001 l1,l2,l3=[[0]*MAX for i in range(MAX)],[0]*MAX,[0]MAX for j in range(MAX): for k in range(j+1): l1[j][k]=1 if k==0 or k==j else (l1[j-1][k-1]+l1[j-1][k])%mod l2[j]=(pow(2, j(j-1), mod)-sum(l1[j][i]pow(2, (j-1)(j-i), mod)*l2[i] for i in range(1,j)))%mod l3[j]=(l2[j]+sum(l1[j-1][i-1]*l3[i]*l2[j-i] for i in range(1,j)))%mod

    for _ in range(int(input())): print(l3[int(input())])

  • + 0 comments

    Required : Internet search skills

    That's goddamn right...

  • + 0 comments

    This blog is reltaed to the Shoes and also related to the best shoes for walk, I really like this blog information and as well as if we go on their given site and see their best boxing shoes than we know that they are doing so well work for our comfort. So that is why i want to share this information on different blog groups.

  • + 0 comments

    i dont get it lol

No more comments