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
- 자바
- SpringBoot
- EC2
- 2167. 2차원 배열의 합
- 별자리 만들기
- 18222
- 이산수학
- dockercompose
- jenkins
- Error
- Error fetching remote repo 'origin'
- documentationpluginsbootstrapper
- 20055
- 21278
- 백준
- 이클립스
- 소가길을건너간이유6
- Eclipse
- Java
- 14466
- to display the conditions report re-run your application with 'debug' enabled
- 설정
- 프로그래머스
- 알고리즘
- 날짜일수
- 투에모스문자열
- 호석이두마리치킨
- docker
- 2108_통계학
- CMD
Archives
- Today
- Total
목록피보나치함수 (1)
계단을 오르듯이
백준[JAVA] 1003. 피보나치함수
피보나치에서 다이나믹 프로그래밍으로 발전된 문제이다. arr[n][2]의 저장소와 방문처리 boolean형 1차원 배열을 이용해 풀이했다. arr[n][0]= n일 경우 0의 개수, arr[n][1]= n일 경우 1의 개수이다. 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 package algo; import java.io.BufferedReader; import java.io.InputStreamReader; public class B_1003_피보나치함수 { static int[][] f = new int[..
알고리즘/백준_JAVA
2022. 2. 24. 08:54