Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 프로그래머스타겟넘버파이썬
- ssd
- deep learning
- 프로그래머스게임맵최단거리
- 다음큰숫자
- 프로그래머스
- 코딩테스트네트워크
- Faster R-CNN
- SSD 리뷰
- Pruning Tutorial
- Pytorch pruning
- 타겟넘버bfs
- 프로그래머스bfs
- 프로그래머스파이썬
- 프로그래머스타겟넘버
- Object Detection
- Paper list
- Code Study
- Single Shot MultiBox Detector
- 최솟값 만들기
- 코딩테스트연습
- pytorch
- 커피후기
- ECCV
- 코딩테스트2단계
- One stage detector
- 프로그래머스네트워크
- 프로그래머스너비우선탐색
- 프로그래머스타겟넘버정답
- Two stage Detector
Archives
- Today
- Total
soyeonland
피보나치수 본문
def solution(n):
answer = 0
before = 0; current = 1
after = before + current #F(2)
for i in range(n-2):
before = current
current = after
after = before + current
#print("after:", after, "= curret ", current , " + before ", before)
answer = after%1234567
return answer
'Study > 코딩테스트 연습' 카테고리의 다른 글
카펫 (0) | 2024.07.07 |
---|---|
짝지어 제거하기 (시간초과 -> 통과) (0) | 2024.07.07 |
이진 변환 반복하기 (0) | 2024.07.04 |
JadenCase 문자열 만들기 (0) | 2024.06.30 |
최솟값 만들기 (0) | 2024.06.30 |