結果

問題 No.64 XORフィボナッチ数列
ユーザー regeregeregerege
提出日時 2016-03-26 20:23:58
言語 F#
(F# 4.0)
結果
RE  
実行時間 -
コード長 280 bytes
コンパイル時間 6,078 ms
コンパイル使用メモリ 192,288 KB
実行使用メモリ 40,320 KB
最終ジャッジ日時 2024-04-10 00:04:00
合計ジャッジ時間 9,147 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
34,688 KB
testcase_01 AC 86 ms
34,688 KB
testcase_02 AC 88 ms
34,304 KB
testcase_03 AC 85 ms
35,072 KB
testcase_04 AC 86 ms
34,944 KB
testcase_05 AC 86 ms
34,688 KB
testcase_06 AC 89 ms
34,560 KB
testcase_07 AC 91 ms
34,560 KB
testcase_08 AC 90 ms
34,688 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 91 ms
34,560 KB
testcase_13 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (215 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

let ``No.64 XORフィボナッチ数列``() =
    let f (s:string) =
        let arr = s.Split(' ')
        let a,b = bigint.Parse arr.[0], bigint.Parse arr.[1]
        [a;b;a^^^b].[(int arr.[2])%3]
    f <| stdin.ReadLine() |> printfn "%A"
``No.64 XORフィボナッチ数列``()
0