結果

問題 No.64 XORフィボナッチ数列
ユーザー 👑 H20H20
提出日時 2021-07-15 14:37:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 5,000 ms
コード長 109 bytes
コンパイル時間 1,481 ms
コンパイル使用メモリ 86,808 KB
実行使用メモリ 71,368 KB
最終ジャッジ日時 2023-09-17 20:40:07
合計ジャッジ時間 2,926 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
70,932 KB
testcase_01 AC 75 ms
70,936 KB
testcase_02 AC 73 ms
71,364 KB
testcase_03 AC 72 ms
71,368 KB
testcase_04 AC 75 ms
71,172 KB
testcase_05 AC 72 ms
71,132 KB
testcase_06 AC 72 ms
71,216 KB
testcase_07 AC 73 ms
71,136 KB
testcase_08 AC 72 ms
71,160 KB
testcase_09 AC 72 ms
71,096 KB
testcase_10 AC 72 ms
71,220 KB
testcase_11 AC 73 ms
71,160 KB
testcase_12 AC 72 ms
71,180 KB
testcase_13 AC 72 ms
71,228 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

F1,F2,K = map(int,input().split())
if K%3==0:
    print(F1)
elif K%3==1:
    print(F2)
else:
    print(F1^F2)
0