結果

問題 No.64 XORフィボナッチ数列
ユーザー tookunn_1213tookunn_1213
提出日時 2015-04-09 18:58:53
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 139 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 6,568 KB
実行使用メモリ 6,124 KB
最終ジャッジ日時 2023-09-17 19:05:08
合計ジャッジ時間 6,881 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,836 KB
testcase_01 AC 10 ms
6,048 KB
testcase_02 AC 10 ms
5,852 KB
testcase_03 AC 11 ms
5,908 KB
testcase_04 AC 11 ms
5,952 KB
testcase_05 AC 11 ms
6,104 KB
testcase_06 AC 11 ms
6,044 KB
testcase_07 AC 10 ms
6,124 KB
testcase_08 AC 11 ms
6,104 KB
testcase_09 TLE -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,N = map(int,raw_input().split())
count = 0
c = a
d = b
stack = [b,a]
while N>count:
	c = a
	d = b
	b = (c^d)
	a = d
	count += 1
print a
0