結果
| 問題 |
No.129 お年玉(2)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-04-06 09:33:14 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 222 bytes |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-04 02:08:40 |
| 合計ジャッジ時間 | 3,133 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 46 |
ソースコード
#coding: utf-8 ##yuki_129 import math def comb(n,m): return math.factorial(n)/(math.factorial(m)*math.factorial(n-m)) n=int(raw_input()) m=int(raw_input()) x=n/1000 y=x%m res=comb(m,y)%1000000000 print x,y print res