結果
| 問題 |
No.129 お年玉(2)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-06-11 15:52:48 |
| 言語 | Python2 (2.7.18) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 190 bytes |
| コンパイル時間 | 44 ms |
| コンパイル使用メモリ | 6,940 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-06 15:37:51 |
| 合計ジャッジ時間 | 1,516 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 46 |
ソースコード
# -*- coding:utf-8 -*- from scipy.misc import comb if __name__ == "__main__": n = input() m = input() n /= 1000 n %= m if n == 0: print 1 exit() else: print comb(m,n) % (10**9)