結果

問題 No.1126 SUM
ユーザー pluto77pluto77
提出日時 2020-07-31 09:49:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 122 bytes
コンパイル時間 286 ms
コンパイル使用メモリ 10,468 KB
実行使用メモリ 9,588 KB
最終ジャッジ日時 2023-09-19 09:23:05
合計ジャッジ時間 18,855 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 489 ms
9,280 KB
testcase_01 TLE -
testcase_02 AC 205 ms
8,540 KB
testcase_03 AC 101 ms
8,668 KB
testcase_04 TLE -
testcase_05 AC 895 ms
9,008 KB
testcase_06 AC 312 ms
8,676 KB
testcase_07 AC 382 ms
9,088 KB
testcase_08 AC 577 ms
8,976 KB
testcase_09 AC 941 ms
9,028 KB
testcase_10 AC 548 ms
9,300 KB
testcase_11 AC 301 ms
9,216 KB
testcase_12 AC 640 ms
9,152 KB
testcase_13 AC 233 ms
8,908 KB
testcase_14 AC 416 ms
8,936 KB
testcase_15 AC 305 ms
8,852 KB
testcase_16 AC 939 ms
9,120 KB
testcase_17 AC 332 ms
8,896 KB
testcase_18 AC 548 ms
9,084 KB
testcase_19 TLE -
testcase_20 AC 292 ms
8,672 KB
testcase_21 TLE -
testcase_22 AC 664 ms
9,048 KB
testcase_23 TLE -
testcase_24 AC 352 ms
9,028 KB
testcase_25 AC 392 ms
9,588 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki1126
from math import *
n,m=map(int,input().split())
print(factorial(m+1)//factorial(m-n)//factorial(n+1)%(10**9+7))
0