일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 너비우선탐색
- java
- android support
- 안드로이드
- 소수 알고리즘
- oracle
- Github
- 자바 컬렉션
- SQLite와 Realm 차이점
- db
- anr
- 안드로이드 DBMS
- android fragment
- 안드로이드 파일
- 컬렉션
- 자료구조
- 안드로이드 AdapterView
- android adapterview
- DFS
- 소수
- 알고리즘
- 액티비티 ANR
- BFS
- application not responding
- support fragment
- support 라이브러리
- 백준
- 안드로이드 ANR
- 깊이우선탐색
- 백준 알고리즘
- Today
- Total
목록분류 전체보기 (48)
밍의 기록들😉
https://www.acmicpc.net/problem/1735 public class FractionSum { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a_n = scan.nextInt(); int a_d = scan.nextInt(); int b_n = scan.nextInt(); int b_d = scan.nextInt(); int d = a_d * b_d; a_n = a_n * b_d; b_n = b_n *a_d; int n = a_n +b_n; int gcd_num = gcd(n,d); n = n/gcd_num; d = d/gcd_num; System.out.println(n +" "+..
https://www.acmicpc.net/problem/2485 public class StreeTree { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int [] array = new int[n]; int [] distance = new int[n]; for(int i=0; i
피보나치 수열F0 = 0F1 = 1Fn = Fn-1 + Fn-2 (n>= 2)코드 public class Fibonacci { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] fibonacci = new int[n+2]; fibonacci[0] = 0; fibonacci[1] = 1; for(int i=2; i
최대공약수(GCD)두 수의 공통된 약수 중에서 가장 큰 정수최대공약수가 1인 두 수는 서로소코드 private int gcd(int a, int b) { if(b==0){ return a; } else{ return gcd(b, a%b); } } 유클리드 호제법a를 b로 나눈 나머지 rGCD(a,b) = GCD(b,r)r = 0 일 때 b가 최대공약수재귀함수 사용하여 구현한 코드 private int gcd(int a, int b) { if(b==0){ return a; } else{ return gcd(b, a%b); } }재귀함수 사용하지 않고 구현한 코드 private int gcd(int a, int b) { while(b !=0){ int r = a%b; a = b; b = r; } return..
국가공인 SQL 개발자 자격검정을 준비하면서 요약정리한 파일입니다.한국데이터베이스진흥원에서 발간한 SQL 전문가 가이드 책을 참고하여 작성하였습니다.
보호되어 있는 글입니다.
1) 원격 저장소 만들기(Github) git bash를 연다. $ git init프로젝트가 있는 곳에 명령어를 통해 git 디렉토리를 생성한다.디렉토리 이동하는 명령어는 (http://livecoding.tistory.com/18)을 참고해주세요. $ git add .디렉토리에 있는 모든 파일을 버전 관리할 수 있도록 한다. $ git commit -m 'commit 1''commit 1'이라는 코멘트를 적고 커밋을 한다. (이때 로컬 저장소에 커밋하는 것) 2) Github에서 Repository 만들기 github 홈페이지 : https://github.com/ 로그인을 하고 Repository를 만든다. 3) 로컬 저장소와 원격 저장소(github) 연결시키기 $ git remote add ori..
1) 설치하기 - Git 홈페이지에서 git을 다운받는다. https://git-scm.com/ - Git Bash를 실행한다. Git Bash = Git을 제어할 수 있는 명령 프로그램으로 리눅스, 유닉스 계열 방식이다. 2) 저장소 만들기 $ git -> git이 잘 설치되었는지 알아보는 명령어 $ pwd -> 현재 나의 위치를 알 수 있는 명령어 $ cd Documents / -> 나의 위치에서 C드라이브 Documents로 이동 $ mkdir git -> 해당 위치에서 git이라는 폴더를 생성하는 명령어 $ ls -al -> 해당 위치의 파일들 목록을 보여주는 명령어 $ git init -> git 저장소 초기화 즉 생성됨, 지정된 폴더를 버전관리하겠다고 지정해주는 명령어 3) git이 관리할 대..