結果

問題 No.64 XORフィボナッチ数列
ユーザー nohakai3nohakai3
提出日時 2022-10-23 08:41:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 5,000 ms
コード長 105 bytes
コンパイル時間 1,024 ms
コンパイル使用メモリ 87,140 KB
実行使用メモリ 71,596 KB
最終ジャッジ日時 2023-09-14 20:58:27
合計ジャッジ時間 2,452 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,212 KB
testcase_01 AC 74 ms
71,344 KB
testcase_02 AC 72 ms
71,596 KB
testcase_03 AC 74 ms
71,348 KB
testcase_04 AC 75 ms
71,332 KB
testcase_05 AC 75 ms
71,332 KB
testcase_06 AC 73 ms
71,328 KB
testcase_07 AC 74 ms
71,392 KB
testcase_08 AC 73 ms
71,372 KB
testcase_09 AC 74 ms
71,400 KB
testcase_10 AC 75 ms
71,520 KB
testcase_11 AC 74 ms
71,400 KB
testcase_12 AC 75 ms
71,248 KB
testcase_13 AC 76 ms
71,560 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c=map(int,input().split())
f=[a,b]
for i in range(2,100+1):
    f.append(f[i-1]^f[i-2])
print(f[c%3])
0