結果

問題 No.420 mod2漸化式
ユーザー daku9640
提出日時 2017-02-16 13:43:18
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
MLE  
実行時間 -
コード長 191 bytes
コンパイル時間 468 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 1,476,480 KB
最終ジャッジ日時 2024-12-30 00:13:28
合計ジャッジ時間 31,873 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample MLE * 1
other AC * 15 RE * 2 TLE * 17 MLE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import itertools
c = lambda a,b:len(list(itertools.combinations(range(1,a+1),b)))
x = int(input())
print(c(31, x), (2 ** 31 - 1) * c(30, x - 1))
0