結果

問題 No.64 XORフィボナッチ数列
ユーザー MitI_7MitI_7
提出日時 2015-11-02 22:43:53
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 165 bytes
コンパイル時間 305 ms
コンパイル使用メモリ 10,692 KB
実行使用メモリ 12,496 KB
最終ジャッジ日時 2023-10-11 08:17:35
合計ジャッジ時間 7,098 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
12,292 KB
testcase_01 AC 14 ms
7,824 KB
testcase_02 AC 14 ms
7,856 KB
testcase_03 AC 14 ms
7,988 KB
testcase_04 AC 15 ms
7,952 KB
testcase_05 AC 14 ms
7,948 KB
testcase_06 AC 15 ms
7,912 KB
testcase_07 AC 15 ms
7,784 KB
testcase_08 AC 15 ms
7,784 KB
testcase_09 TLE -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    f0, f1, n = map(int, input().split())
    for i in range(n):
        f0, f1 = f1, f0 ^ f1

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