結果

問題 No.1126 SUM
ユーザー iiljjiiljj
提出日時 2020-07-24 22:30:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 101 bytes
コンパイル時間 516 ms
コンパイル使用メモリ 10,584 KB
実行使用メモリ 9,392 KB
最終ジャッジ日時 2023-09-08 04:45:58
合計ジャッジ時間 18,338 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 487 ms
9,016 KB
testcase_01 TLE -
testcase_02 AC 205 ms
8,616 KB
testcase_03 AC 102 ms
8,504 KB
testcase_04 TLE -
testcase_05 AC 896 ms
8,952 KB
testcase_06 AC 311 ms
8,728 KB
testcase_07 AC 379 ms
9,116 KB
testcase_08 AC 574 ms
9,016 KB
testcase_09 AC 935 ms
9,036 KB
testcase_10 AC 545 ms
9,296 KB
testcase_11 AC 300 ms
9,184 KB
testcase_12 AC 638 ms
9,208 KB
testcase_13 AC 230 ms
8,692 KB
testcase_14 AC 415 ms
8,860 KB
testcase_15 AC 304 ms
8,860 KB
testcase_16 AC 935 ms
9,232 KB
testcase_17 AC 331 ms
8,912 KB
testcase_18 AC 544 ms
9,140 KB
testcase_19 TLE -
testcase_20 AC 291 ms
8,724 KB
testcase_21 TLE -
testcase_22 AC 662 ms
9,128 KB
testcase_23 TLE -
testcase_24 AC 348 ms
9,068 KB
testcase_25 AC 391 ms
9,392 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import factorial as f
n,m=map(int,input().split())
print(f(m+1)//f(m-n)//f(n+1)%1000000007)
0