結果
| 問題 | No.64 XORフィボナッチ数列 |
| コンテスト | |
| ユーザー |
r6eve
|
| 提出日時 | 2017-08-15 15:33:27 |
| 言語 | OCaml (5.5.1) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 5,000 ms |
| + 433µs | |
| コード長 | 210 bytes |
| 記録 | |
| コンパイル時間 | 559 ms |
| コンパイル使用メモリ | 22,692 KB |
| 実行使用メモリ | 9,820 KB |
| 最終ジャッジ日時 | 2026-10-11 10:24:18 |
| 合計ジャッジ時間 | 1,714 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
コンパイルメッセージ
ocamlfind: [WARNING] Cannot read directory ./stublibs which is mentioned in ld.conf
ソースコード
let () = let f0, f1, n = Scanf.scanf "%d %d %d " (fun f0 f1 n -> f0, f1, n) in match n mod 3 with | 0 -> Printf.printf "%d\n" f0 | 1 -> Printf.printf "%d\n" f1 | _ -> Printf.printf "%d\n" (f0 lxor f1)
r6eve