結果

問題 No.64 XORフィボナッチ数列
ユーザー tonyu0tonyu0
提出日時 2020-03-26 13:43:05
言語 Perl
(5.38.2)
結果
AC  
実行時間 6 ms / 5,000 ms
コード長 147 bytes
コンパイル時間 527 ms
コンパイル使用メモリ 5,360 KB
実行使用メモリ 5,348 KB
最終ジャッジ日時 2023-08-30 12:27:07
合計ジャッジ時間 1,564 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,124 KB
testcase_01 AC 6 ms
5,300 KB
testcase_02 AC 6 ms
5,072 KB
testcase_03 AC 6 ms
5,076 KB
testcase_04 AC 6 ms
5,204 KB
testcase_05 AC 6 ms
5,016 KB
testcase_06 AC 6 ms
5,112 KB
testcase_07 AC 6 ms
5,064 KB
testcase_08 AC 6 ms
5,244 KB
testcase_09 AC 6 ms
5,248 KB
testcase_10 AC 6 ms
5,204 KB
testcase_11 AC 6 ms
5,112 KB
testcase_12 AC 6 ms
5,332 KB
testcase_13 AC 6 ms
5,348 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

my ($f0, $f1, $n) = glob<>;
my $f2 = int($f0) ^ int($f1);
print$f0 if ($n % 3 == 0);
print$f1 if ($n % 3 == 1);
print$f2 if ($n % 3 == 2);
print$/
0