結果

問題 No.64 XORフィボナッチ数列
ユーザー yumechi
提出日時 2015-06-12 03:59:54
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 111 bytes
コンパイル時間 252 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-06 15:49:59
合計ジャッジ時間 993 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 RE * 1
other AC * 8 RE * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

f0, f1, n = map(int, input().split())
if n % 3 == 0:
	print(f0)
elif n % 3 == 1:
	print(f1)
else:
	print(fo^f1)
0