結果

問題 No.64 XORフィボナッチ数列
ユーザー nohakai3nohakai3
提出日時 2022-10-23 08:41:17
言語 PyPy3
(7.3.15)
結果
MLE  
実行時間 -
コード長 103 bytes
コンパイル時間 283 ms
コンパイル使用メモリ 87,092 KB
実行使用メモリ 847,540 KB
最終ジャッジ日時 2023-09-14 20:58:14
合計ジャッジ時間 4,880 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,592 KB
testcase_01 AC 73 ms
71,288 KB
testcase_02 AC 73 ms
71,224 KB
testcase_03 AC 73 ms
71,316 KB
testcase_04 AC 74 ms
71,252 KB
testcase_05 AC 74 ms
71,296 KB
testcase_06 AC 71 ms
71,456 KB
testcase_07 AC 71 ms
71,152 KB
testcase_08 AC 71 ms
71,396 KB
testcase_09 MLE -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

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