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