結果
問題 | No.64 XORフィボナッチ数列 |
ユーザー | mmmppp |
提出日時 | 2017-02-17 20:21:41 |
言語 | Ruby (3.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 73 bytes |
コンパイル時間 | 69 ms |
コンパイル使用メモリ | 11,556 KB |
実行使用メモリ | 15,540 KB |
最終ジャッジ日時 | 2023-08-29 21:50:55 |
合計ジャッジ時間 | 2,117 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | AC | 81 ms
15,344 KB |
testcase_02 | RE | - |
testcase_03 | AC | 91 ms
15,112 KB |
testcase_04 | AC | 83 ms
15,280 KB |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
testcase_10 | RE | - |
testcase_11 | RE | - |
testcase_12 | AC | 83 ms
15,156 KB |
testcase_13 | RE | - |
コンパイルメッセージ
Syntax OK
ソースコード
a,b,n=gets.split.map &:to_i c=[a,b];p->i{c[i]?c[i]:c[i]=f[i-1]^f[i-2]}[n]