結果

問題 No.64 XORフィボナッチ数列
ユーザー 👑 colognecologne
提出日時 2022-01-25 01:12:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 5,000 ms
コード長 195 bytes
コンパイル時間 685 ms
コンパイル使用メモリ 87,252 KB
実行使用メモリ 71,412 KB
最終ジャッジ日時 2023-08-21 16:41:45
合計ジャッジ時間 2,592 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,140 KB
testcase_01 AC 69 ms
71,248 KB
testcase_02 AC 69 ms
71,264 KB
testcase_03 AC 68 ms
71,104 KB
testcase_04 AC 68 ms
71,380 KB
testcase_05 AC 68 ms
71,100 KB
testcase_06 AC 71 ms
71,272 KB
testcase_07 AC 69 ms
71,388 KB
testcase_08 AC 68 ms
71,296 KB
testcase_09 AC 68 ms
71,412 KB
testcase_10 AC 69 ms
71,348 KB
testcase_11 AC 69 ms
71,208 KB
testcase_12 AC 69 ms
71,144 KB
testcase_13 AC 69 ms
71,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys


def input(): return sys.stdin.readline().rstrip()


def main():
    F0, F1, N = map(int, input().split())
    print([F0, F1, F0 ^ F1][N % 3])


if __name__ == '__main__':
    main()
0