結果

問題 No.420 mod2漸化式
ユーザー Navier_Boltzmann
提出日時 2023-06-17 13:52:28
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 255 bytes
コンパイル時間 520 ms
コンパイル使用メモリ 81,920 KB
実行使用メモリ 65,280 KB
最終ジャッジ日時 2024-06-25 04:43:10
合計ジャッジ時間 3,565 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 34 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline

x = int(input())
if x>31:
    print(0,0)
    exit()

s = math.comb(31,x)
t = math.comb(30,x-1)*((1<<31)-1)
print(s,t)
0