Answers for "puppy and sum codechef solution"

0

puppy and sum codechef solution

t=int(input())
for i in range(t):
  d,n=map(int,input().split())
  for i in range(d):
    b=n*(n+1)/2
    n=b
   print(int(b))
Posted by: Guest on May-27-2020

Code answers related to "puppy and sum codechef solution"

Python Answers by Framework

Browse Popular Code Answers by Language