結果
問題 | No.242 ビンゴゲーム |
ユーザー |
![]() |
提出日時 | 2017-07-28 02:38:08 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 2,000 ms |
コード長 | 202 bytes |
コンパイル時間 | 398 ms |
コンパイル使用メモリ | 82,252 KB |
実行使用メモリ | 53,740 KB |
最終ジャッジ日時 | 2024-10-10 02:32:33 |
合計ジャッジ時間 | 1,296 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
def combination(a, b):if a < b:return 0if b == 0:return 1return a * combination(a - 1, b - 1) / bN = int(input())print(combination(N, 5) / combination(99, 5) * 12)