본문 바로가기

anothel의 지식 창고

검색하기
anothel의 지식 창고
프로필사진 anothel

  • 전체보기 (329)
    • 기술 노트 (154)
      • Apache Spark (5)
      • CMake (1)
      • Docker (1)
      • Google Code Style Guide (14)
      • Hooking (1)
      • Network (1)
      • Oracle (1)
      • SQLite (1)
      • WinDbg (0)
      • 정보보안기사 (108)
    • 독서 기록 (50)
    • 성장 일지 (5)
    • 연습장 (120)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • github
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
  • 반복해서
  • 민병철 전화영어
  • 그래도
  • 마이유폰
  • 얼른
  • 목표
  • 열심히
  • codewars
  • 빨리
  • 백트래킹
  • 동적계획법
  • dfs
  • 같다.
  • 레벨2
  • ^
  • 하늘이
  • 저
  • 리눅스
  • 그래서
  • 한번에
  • 나는
  • 회고록
  • 하나씩
  • XOR
  • 의
  • 연습하는
  • 너무
  • 하늘 위에
  • 더
  • 우물 안 개구리
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록닭을 잡는다 (1)

anothel의 지식 창고

Product of consecutive Fib numbers

The Fibonacci numbers are the numbers in the following integer sequence (Fn): 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, ... such as F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1. Given a number, say prod (for product), we search two Fibonacci numbers F(n) and F(n+1) verifying F(n) * F(n+1) = prod. Your function productFib takes an integer (prod) and returns an array: [F(n), F(n+1), ..

연습장 2021. 10. 28. 12:11
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바