結果

問題 No.1126 SUM
ユーザー NatsubiSoganNatsubiSogan
提出日時 2020-07-28 11:50:40
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 101 bytes
コンパイル時間 576 ms
コンパイル使用メモリ 10,592 KB
実行使用メモリ 85,800 KB
最終ジャッジ日時 2023-09-11 06:26:38
合計ジャッジ時間 18,244 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 959 ms
45,448 KB
testcase_01 TLE -
testcase_02 AC 343 ms
45,396 KB
testcase_03 AC 246 ms
45,472 KB
testcase_04 TLE -
testcase_05 TLE -
testcase_06 AC 429 ms
45,404 KB
testcase_07 AC 250 ms
45,428 KB
testcase_08 AC 355 ms
45,524 KB
testcase_09 AC 802 ms
45,444 KB
testcase_10 AC 271 ms
45,500 KB
testcase_11 AC 241 ms
45,456 KB
testcase_12 AC 302 ms
45,420 KB
testcase_13 AC 272 ms
45,440 KB
testcase_14 AC 345 ms
45,368 KB
testcase_15 AC 317 ms
45,332 KB
testcase_16 AC 716 ms
45,376 KB
testcase_17 AC 506 ms
45,628 KB
testcase_18 AC 380 ms
45,516 KB
testcase_19 AC 832 ms
45,468 KB
testcase_20 AC 398 ms
45,532 KB
testcase_21 AC 781 ms
45,612 KB
testcase_22 AC 740 ms
45,436 KB
testcase_23 TLE -
testcase_24 AC 265 ms
45,472 KB
testcase_25 AC 222 ms
85,800 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from scipy.special import comb
n,m=map(int,input().split())
print(comb(m+1,n+1,exact=True)%(10**9+7))
0