結果

問題 No.420 mod2漸化式
ユーザー daku9640
提出日時 2017-02-16 13:42:46
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 191 bytes
コンパイル時間 197 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 818,316 KB
最終ジャッジ日時 2024-12-30 00:12:13
合計ジャッジ時間 33,161 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 15 RE * 1 TLE * 18 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), ((1<<31) - 1) * c(30, x - 1))
0