diff --git a/seokjun/week6/2775.py b/seokjun/week6/2775.py new file mode 100644 index 0000000..95d7a84 --- /dev/null +++ b/seokjun/week6/2775.py @@ -0,0 +1,11 @@ +from itertools import* + +t=int(input()) +for _ in range(t): + k,n=int(input()),int(input()) + # 0층 + f=list(range(n+1)) + for _ in range(k): + # 다음층은 이전층의 누적합 배열 + f=list(accumulate(f)) + print(f[n]) \ No newline at end of file