結果
| 問題 |
No.1186 長方形の敷き詰め
|
| コンテスト | |
| ユーザー |
ytft
|
| 提出日時 | 2022-03-21 17:45:22 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 168 bytes |
| コンパイル時間 | 157 ms |
| コンパイル使用メモリ | 81,976 KB |
| 実行使用メモリ | 848,536 KB |
| 最終ジャッジ日時 | 2024-10-09 05:11:38 |
| 合計ジャッジ時間 | 2,948 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 WA * 1 MLE * 1 -- * 17 |
ソースコード
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])
ytft