13 
 
        
      
      ผลิตภัณฑ์ Fibonacci
      
  คุณสามารถแยกตัวเลขที่มากกว่า 0 เป็นผลรวมที่ไม่ซ้ำกันของตัวเลขฟีโบนักชีบวก ในคำถามนี้เราทำได้โดยการลบจำนวนฟีโบนัชชีบวกที่ใหญ่ที่สุดซ้ำไปซ้ำมา เช่น: 1 = 1 2 = 2 3 = 3 4 = 3 + 1 12 = 8 + 3 + 1 13 = 13 100 = 89 + 8 + 3 ตอนนี้ฉันเรียกผลิตภัณฑ์ Fibonacciว่าเป็นรายการเดียวกันกับข้างบน แต่ด้วยการเพิ่มถูกแทนที่ด้วยการคูณ ตัวอย่างเช่นf(100) = 89 * 8 * 3 = 2136. เขียนโปรแกรมหรือฟังก์ชั่นที่ให้จำนวนเต็มบวกnส่งคืนผลคูณของฟีโบนักชีของตัวเลขนั้น Testcases: …
      
        
          
                   13
                
        
        
          
                  
                    code-golf 
                  
                    math 
                  
                    sequence 
                  
                    fibonacci 
                  
                    code-golf 
                  
                    word 
                  
                    code-golf 
                  
                    cipher 
                  
                    code-golf 
                  
                    string 
                  
                    math 
                  
                    subsequence 
                  
                    code-golf 
                  
                    regular-expression 
                  
                    code-golf 
                  
                    brainfuck 
                  
                    assembly 
                  
                    machine-code 
                  
                    x86-family 
                  
                    code-golf 
                  
                    math 
                  
                    factorial 
                  
                    code-golf 
                  
                    math 
                  
                    geometry 
                  
                    code-golf 
                  
                    math 
                  
                    arithmetic 
                  
                    array-manipulation 
                  
                    math 
                  
                    number 
                  
                    optimization 
                  
                    stack 
                  
                    metagolf 
                  
                    code-golf 
                  
                    tips 
                  
                    assembly 
                  
                    code-golf 
                  
                    tips 
                  
                    lisp 
                  
                    code-golf 
                  
                    number-theory 
                  
                    path-finding 
                  
                    code-golf 
                  
                    number 
                  
                    sequence 
                  
                    generation 
                  
                    code-golf 
                  
                    math 
                  
                    geometry 
                  
                    code-golf 
                  
                    grid 
                  
                    permutations 
                  
                    code-golf 
                  
                    code-golf 
                  
                    graphical-output 
                  
                    geometry 
                  
                    fractal 
                  
                    knot-theory 
                  
                    code-golf 
                  
                    math 
                  
                    arithmetic 
                  
                    code-golf 
                  
                    interpreter 
                  
                    balanced-string 
                  
                    stack 
                  
                    brain-flak 
                  
                    code-golf 
                  
                    math 
                  
                    set-theory 
                  
                    code-golf 
                  
                    math 
                  
                    array-manipulation 
                  
                    code-golf 
                  
                    code-golf 
                  
                    string 
                  
                    natural-language 
                  
                    code-golf 
                  
                    code-golf 
                  
                    math 
                  
                    linear-algebra 
                  
                    matrix 
                  
                    code-golf 
                  
                    string 
                  
                    encode