結果
| 問題 |
No.129 お年玉(2)
|
| コンテスト | |
| ユーザー |
ebicochineal
|
| 提出日時 | 2017-04-05 04:06:23 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 59 ms / 5,000 ms |
| コード長 | 93 bytes |
| コンパイル時間 | 180 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-11-28 00:46:43 |
| 合計ジャッジ時間 | 2,997 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 46 |
ソースコード
N,M,r=int(input())//1000,int(input()),1 for i in range(1,N%M+1):r=r*(M-i+1)//i print(r%10**9)
ebicochineal