結果

問題 No.790 ちきんの括弧並べ
ユーザー face4
提出日時 2019-02-20 22:10:05
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 2,000 ms
コード長 130 bytes
コンパイル時間 124 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-07 19:06:16
合計ジャッジ時間 1,112 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

def b(x):
    ret = 1
    while x > 1:
        ret *= x
        x -= 1
    return ret
n = int(input())
print(b(2*n)//b(n)//b(n+1))
0