結果
| 問題 |
No.954 Result
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-12-17 00:49:57 |
| 言語 | Ruby (3.4.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 180 bytes |
| コンパイル時間 | 89 ms |
| コンパイル使用メモリ | 7,680 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-07-02 20:55:41 |
| 合計ジャッジ時間 | 4,288 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 6 RE * 1 |
| other | AC * 23 RE * 6 |
コンパイルメッセージ
Syntax OK
ソースコード
li = 5.times.map{gets.to_i}.reverse
fb = (1..99).reduce([1,1]){|s,e| s << s[-1]+s[-2];s}.take_while{|e| e <= 10**15}
p 5.times.select{|r| fb.each_cons(r+1).include? li[0..r]}.max+1