結果
問題 |
No.129 お年玉(2)
|
ユーザー |
|
提出日時 | 2020-09-16 16:31:12 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 179 bytes |
コンパイル時間 | 281 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 75,500 KB |
最終ジャッジ日時 | 2024-06-22 03:20:31 |
合計ジャッジ時間 | 7,726 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 WA * 41 |
ソースコード
N = int(input()) M = int(input()) N //= 1000 N %= M ans = 1 for i in range(M, M - N, -1): ans *= i for i in range(1, N + 1): ans //= i print(ans)