일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 컬렉션
- support 라이브러리
- SQLite와 Realm 차이점
- support fragment
- 백준 알고리즘
- oracle
- 깊이우선탐색
- android adapterview
- 액티비티 ANR
- java
- 너비우선탐색
- Github
- BFS
- 안드로이드 DBMS
- 안드로이드 ANR
- 안드로이드
- anr
- application not responding
- db
- android support
- 안드로이드 AdapterView
- 자료구조
- DFS
- 백준
- 소수 알고리즘
- 소수
- android fragment
- 안드로이드 파일
- 알고리즘
- 자바 컬렉션
Archives
- Today
- Total
목록1735 (1)
밍의 기록들😉
[문제] 분수 합 1735번
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 +" "+..
자료구조, 알고리즘/문제풀이
2018. 8. 16. 20:11