結果

問題 No.64 XORフィボナッチ数列
ユーザー zyxw
提出日時 2020-10-15 20:29:36
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 163 bytes
コンパイル時間 80 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,136 KB
最終ジャッジ日時 2024-07-20 19:55:05
合計ジャッジ時間 1,133 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7 RE * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

d=input().split()
a=int(d[0])
b=int(d[1])
n=int(d[2])
def func(x,y,n):
    if n==-1:
        return x^y
    else:
        return func(y,x^y,n-1)
print(func(a,b,n))
0