結果

問題 No.1186 長方形の敷き詰め
ユーザー ytftytft
提出日時 2022-03-21 17:45:22
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 168 bytes
コンパイル時間 177 ms
コンパイル使用メモリ 81,792 KB
実行使用メモリ 851,076 KB
最終ジャッジ日時 2024-04-17 11:07:31
合計ジャッジ時間 4,127 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
51,712 KB
testcase_01 AC 41 ms
51,840 KB
testcase_02 AC 54 ms
64,640 KB
testcase_03 AC 45 ms
51,584 KB
testcase_04 AC 42 ms
51,584 KB
testcase_05 AC 41 ms
51,456 KB
testcase_06 AC 46 ms
51,584 KB
testcase_07 AC 41 ms
51,584 KB
testcase_08 WA -
testcase_09 MLE -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda:sys.stdin.readline().rstrip()
N,M=map(int,input().split())
dp=[1 for i in range(M+1)]
for i in range(N,M+1):
	dp[i]=dp[i-1]+dp[i-N]
print(dp[M])
0