結果

問題 No.64 XORフィボナッチ数列
ユーザー papinianuspapinianus
提出日時 2016-06-03 10:49:10
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 116 bytes
コンパイル時間 163 ms
コンパイル使用メモリ 31,136 KB
実行使用メモリ 31,372 KB
最終ジャッジ日時 2024-04-16 23:27:09
合計ジャッジ時間 1,312 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 41 ms
30,804 KB
testcase_02 AC 41 ms
30,964 KB
testcase_03 AC 41 ms
31,112 KB
testcase_04 AC 43 ms
30,996 KB
testcase_05 WA -
testcase_06 AC 41 ms
30,876 KB
testcase_07 AC 42 ms
30,784 KB
testcase_08 WA -
testcase_09 AC 42 ms
30,652 KB
testcase_10 AC 42 ms
30,736 KB
testcase_11 WA -
testcase_12 AC 42 ms
30,980 KB
testcase_13 AC 41 ms
30,844 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($f[0], $f[1], $n) = explode(' ',trim(fgets(STDIN)));
$f[2] = $f[0] ^ $f[1];
$n %= 3;
echo $f[$n].PHP_EOL;
0