Skip to content

Commit

Permalink
Weekly Pull Request - 한창훈 (#433)
Browse files Browse the repository at this point in the history
* feat(Changhun-Han)[Programmers, 42586] 기능개발

https://programmers.co.kr/learn/courses/30/lessons/42586?language=java
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han)[BOJ, 5585] 거스름돈

https://www.acmicpc.net/problem/5585
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han)DataStructure, ArrayList 구현

Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 1406] 에디터

https://www.acmicpc.net/problem/1406
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 1926] 그림

https://www.acmicpc.net/problem/1926
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 1926] 그림

https://www.acmicpc.net/problem/1926
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 2217] 로프

https://www.acmicpc.net/problem/2217
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 1343] 폴리오미노

https://www.acmicpc.net/problem/1343
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 1758] 알바생 강호

https://www.acmicpc.net/problem/1758
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 11399] ATM

https://www.acmicpc.net/problem/11399
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 11399] ATM

https://www.acmicpc.net/problem/11399
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 11508] 2+1 세일

https://www.acmicpc.net/problem/11508
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 20115] 에너지 드링크

https://www.acmicpc.net/problem/20115
Signed-off-by: siro <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 5622] 다이얼

https://www.acmicpc.net/problem/5622
Signed-off-by: siro <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 2941] 크로아티아 알파벳

https://www.acmicpc.net/problem/2941
Signed-off-by: siro <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 20300] 서강근육맨

https://www.acmicpc.net/problem/20300
Signed-off-by: siro <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 13164] 행복유치원

https://www.acmicpc.net/problem/13164
Signed-off-by: siro <hch4102@naver.com>

* feat: 문자열 조작하기

* feat(Changhun-Han)DataStructure, ArrayList 구현

Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 1406] 에디터

https://www.acmicpc.net/problem/1406
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 1926] 그림

https://www.acmicpc.net/problem/1926
Signed-off-by: shirohoo <hch4102@naver.com>

* feat(Changhun-Han): [BOJ, 1926] 그림

https://www.acmicpc.net/problem/1926
Signed-off-by: shirohoo <hch4102@naver.com>

* feat: 문자열 조작하기

* feat(Changhun-Han):[Programmers, 42576] 완주하지 못한 선수

* feat(Changhun-Han):[Practice] 팰린드롬

* feature(Changhun-Han): [Practice] 큰 수 출력하기

* fix(Changhun-Han): 미사용 파일 제거

* feat(Changhun-Han): [Programmers, 42840] 모의고사

https://programmers.co.kr/learn/courses/30/lessons/42840?language=java

* fix(Changhun-Han): 패키지 구조 변경으로 인한 코드 일괄 수정

* feature(Changhun-Han): [Practice] 격자판 최대합

n x n 크기의 정사각형이 있을 경우 각 행의 합, 각 열의 합, 모든 대각선의 합 중 가장 큰 수를 반환

* feat(Changhun-Han): [BOJ, 2775] 부녀회장이 될테야

https://www.acmicpc.net/problem/2775
  • Loading branch information
1chz committed Nov 21, 2021
1 parent ba4267f commit 5f00f14
Show file tree
Hide file tree
Showing 16 changed files with 38 additions and 318 deletions.
38 changes: 38 additions & 0 deletions Changhun-Han/src/baekjoon/BOJ_2775.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package src.baekjoon;

import java.io.IOException;
import java.util.Scanner;

/**
* @see <a href="https://www.acmicpc.net/problem/2775">
* https://www.acmicpc.net/problem/2775
* </a>
*/
public class BOJ_2775 {

public static void main(String[] args) throws IOException {
Scanner sc = new Scanner(System.in);

int k, n;
int[][] d = new int[15][15];

for (int i = 1; i < 15; i++) {
d[0][i] = i;
}
for (int i = 1; i < 15; i++) {
for (int j = 1; j < 15; j++) {
d[i][j] = d[i - 1][j] + d[i][j - 1];
}
}

int t = sc.nextInt();
for (int i = 0; i < t; i++) {
k = sc.nextInt();
n = sc.nextInt();
System.out.println(d[k][n]);
}

sc.close();
}

}
12 changes: 0 additions & 12 deletions Yeonji-Choi/src/baekjoon/BOJ_10172.java

This file was deleted.

22 changes: 0 additions & 22 deletions Yeonji-Choi/src/baekjoon/BOJ_10797.java

This file was deleted.

28 changes: 0 additions & 28 deletions Yeonji-Choi/src/baekjoon/BOJ_10817.java

This file was deleted.

21 changes: 0 additions & 21 deletions Yeonji-Choi/src/baekjoon/BOJ_11022.java

This file was deleted.

13 changes: 0 additions & 13 deletions Yeonji-Choi/src/baekjoon/BOJ_11654.java

This file was deleted.

18 changes: 0 additions & 18 deletions Yeonji-Choi/src/baekjoon/BOJ_14681.java

This file was deleted.

23 changes: 0 additions & 23 deletions Yeonji-Choi/src/baekjoon/BOJ_2438.java

This file was deleted.

27 changes: 0 additions & 27 deletions Yeonji-Choi/src/baekjoon/BOJ_2439.java

This file was deleted.

31 changes: 0 additions & 31 deletions Yeonji-Choi/src/baekjoon/BOJ_2525.java

This file was deleted.

26 changes: 0 additions & 26 deletions Yeonji-Choi/src/baekjoon/BOJ_2562.java

This file was deleted.

26 changes: 0 additions & 26 deletions Yeonji-Choi/src/baekjoon/BOJ_2577.java

This file was deleted.

16 changes: 0 additions & 16 deletions Yeonji-Choi/src/baekjoon/BOJ_2588.java

This file was deleted.

16 changes: 0 additions & 16 deletions Yeonji-Choi/src/baekjoon/BOJ_2742.java

This file was deleted.

16 changes: 0 additions & 16 deletions Yeonji-Choi/src/baekjoon/BOJ_2753.java

This file was deleted.

23 changes: 0 additions & 23 deletions Yeonji-Choi/src/baekjoon/BOJ_5543.java

This file was deleted.

0 comments on commit 5f00f14

Please sign in to comment.