Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weekly Pull Request - 한창훈 #433

Merged
merged 35 commits into from
Nov 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
d3d87cb
feat(Changhun-Han)[Programmers, 42586] 기능개발
1chz May 6, 2021
ac09bb0
feat(Changhun-Han)[BOJ, 5585] 거스름돈
1chz May 10, 2021
7f019ce
feat(Changhun-Han)DataStructure, ArrayList 구현
1chz May 10, 2021
b95097e
feat(Changhun-Han): [BOJ, 1406] 에디터
1chz May 17, 2021
9675e24
feat(Changhun-Han): [BOJ, 1926] 그림
1chz May 17, 2021
a9e9a8a
feat(Changhun-Han): [BOJ, 1926] 그림
1chz May 19, 2021
1df1eec
feat(Changhun-Han): [BOJ, 2217] 로프
1chz May 23, 2021
c64e340
feat(Changhun-Han): [BOJ, 1343] 폴리오미노
1chz May 25, 2021
b3afde9
feat(Changhun-Han): [BOJ, 1758] 알바생 강호
1chz May 29, 2021
17c14f7
feat(Changhun-Han): [BOJ, 11399] ATM
1chz May 29, 2021
5871e6a
feat(Changhun-Han): [BOJ, 11399] ATM
1chz May 29, 2021
b9c0506
feat(Changhun-Han): [BOJ, 11508] 2+1 세일
1chz Jun 3, 2021
22d2248
feat(Changhun-Han): [BOJ, 20115] 에너지 드링크
1chz Jun 6, 2021
27aa199
feat(Changhun-Han): [BOJ, 5622] 다이얼
1chz Jun 18, 2021
88d245e
feat(Changhun-Han): [BOJ, 2941] 크로아티아 알파벳
1chz Jun 25, 2021
efbccdd
feat(Changhun-Han): [BOJ, 20300] 서강근육맨
1chz Jun 30, 2021
ead5c0e
feat(Changhun-Han): [BOJ, 13164] 행복유치원
1chz Jul 5, 2021
0be1f3b
Merge remote-tracking branch 'origin/Changhun-Han' into Changhun-Han
1chz Jul 6, 2021
78d3d59
feat: 문자열 조작하기
1chz Jul 25, 2021
b967cd1
feat(Changhun-Han)DataStructure, ArrayList 구현
1chz May 10, 2021
a9369b1
feat(Changhun-Han): [BOJ, 1406] 에디터
1chz May 17, 2021
b664c59
feat(Changhun-Han): [BOJ, 1926] 그림
1chz May 17, 2021
8f34e6e
feat(Changhun-Han): [BOJ, 1926] 그림
1chz May 19, 2021
c3ab0af
feat: 문자열 조작하기
1chz Jul 25, 2021
84327bb
Merge remote-tracking branch 'origin/Changhun-Han' into Changhun-Han
1chz Aug 28, 2021
981c5ca
feat(Changhun-Han):[Programmers, 42576] 완주하지 못한 선수
1chz Oct 3, 2021
97d11f9
feat(Changhun-Han):[Practice] 팰린드롬
1chz Oct 10, 2021
38ba496
Merge remote-tracking branch 'origin/develop' into Changhun-Han
1chz Oct 17, 2021
c6f8799
feature(Changhun-Han): [Practice] 큰 수 출력하기
1chz Oct 17, 2021
04e2424
Merge remote-tracking branch 'origin/develop' into Changhun-Han
1chz Nov 7, 2021
c051414
fix(Changhun-Han): 미사용 파일 제거
1chz Nov 7, 2021
e6579f1
feat(Changhun-Han): [Programmers, 42840] 모의고사
1chz Nov 7, 2021
38ae4fa
fix(Changhun-Han): 패키지 구조 변경으로 인한 코드 일괄 수정
1chz Nov 14, 2021
32ba9d6
feature(Changhun-Han): [Practice] 격자판 최대합
1chz Nov 14, 2021
cd8ed30
feat(Changhun-Han): [BOJ, 2775] 부녀회장이 될테야
1chz Nov 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
45 changes: 0 additions & 45 deletions Changhun-Han/baekjoon/greedy/BOJ_20300.java

This file was deleted.

8 changes: 4 additions & 4 deletions Changhun-Han/src/baekjoon/BOJ_1001.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.io.BufferedReader;
import java.io.IOException;
Expand All @@ -11,12 +11,12 @@
* </a>
*/
public class BOJ_1001 {

public static void main (String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
System.out.println(Integer.parseInt(st.nextToken()) - Integer.parseInt(st.nextToken()));
br.close();
}
}

}
4 changes: 2 additions & 2 deletions Changhun-Han/src/baekjoon/BOJ_10039.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.io.BufferedReader;
import java.io.IOException;
Expand Down Expand Up @@ -27,4 +27,4 @@ public static void main (String[] args) throws IOException {
br.close();
}

}
}
4 changes: 2 additions & 2 deletions Changhun-Han/src/baekjoon/BOJ_10101.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.io.IOException;
import java.util.ArrayList;
Expand Down Expand Up @@ -54,4 +54,4 @@ else if (scalene) {
sc.close();
}

}
}
10 changes: 5 additions & 5 deletions Changhun-Han/src/baekjoon/BOJ_10103.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.io.BufferedReader;
import java.io.IOException;
Expand All @@ -13,10 +13,10 @@
* </a>
*/
public class BOJ_10103 {

public static void main (String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

int A = 100;
int B = 100;
int N = parseInt(br.readLine());
Expand All @@ -38,5 +38,5 @@ else if (aScore < bScore) {
System.out.println(B);
br.close();
}
}

}
8 changes: 4 additions & 4 deletions Changhun-Han/src/baekjoon/BOJ_10156.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.io.BufferedReader;
import java.io.IOException;
Expand All @@ -13,7 +13,7 @@
* </a>
*/
public class BOJ_10156 {

public static void main (String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
Expand All @@ -28,5 +28,5 @@ public static void main (String[] args) throws IOException {
}
br.close();
}
}

}
4 changes: 2 additions & 2 deletions Changhun-Han/src/baekjoon/BOJ_10171.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

/**
* @see <a href="https://www.acmicpc.net/problem/10171">
Expand All @@ -15,4 +15,4 @@ public static void main (String[] args) {
System.out.println(builder);
}

}
}
8 changes: 4 additions & 4 deletions Changhun-Han/src/baekjoon/BOJ_10172.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package baekjoon;
package src.baekjoon;

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

public static void main (String[] args) {
StringBuilder builder = new StringBuilder("|\\_/|\n")
.append("|q p| /}\n")
Expand All @@ -15,5 +15,5 @@ public static void main (String[] args) {
.append("||_/=\\\\__|");
System.out.println(builder);
}
}

}
4 changes: 2 additions & 2 deletions Changhun-Han/src/baekjoon/BOJ_10430.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.io.BufferedReader;
import java.io.IOException;
Expand Down Expand Up @@ -30,4 +30,4 @@ public static void main (String[] args) throws IOException {
br.close();
}

}
}
10 changes: 5 additions & 5 deletions Changhun-Han/src/baekjoon/BOJ_10569.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.io.BufferedReader;
import java.io.IOException;
Expand All @@ -13,13 +13,13 @@
* </a>
*/
public class BOJ_10569 {

public static void main (String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st;
int V = 0;
int E = 0;

int T = parseInt(( br.readLine() ));
for (int i = 0; i < T; i++) {
st = new StringTokenizer(br.readLine());
Expand All @@ -29,5 +29,5 @@ public static void main (String[] args) throws IOException {
}
br.close();
}
}

}
8 changes: 4 additions & 4 deletions Changhun-Han/src/baekjoon/BOJ_10599.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.io.BufferedReader;
import java.io.IOException;
Expand All @@ -13,7 +13,7 @@
* </a>
*/
public class BOJ_10599 {

public static void main (String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
Expand All @@ -28,5 +28,5 @@ public static void main (String[] args) throws IOException {
System.out.println(Math.abs(c - b) + " " + Math.abs(d - a));
}
}
}

}
8 changes: 4 additions & 4 deletions Changhun-Han/src/baekjoon/BOJ_10699.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
Expand All @@ -9,10 +9,10 @@
* </a>
*/
public class BOJ_10699 {

public static void main (String[] args) throws Exception {
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
System.out.println(formatter.format(LocalDateTime.now()));
}
}

}
16 changes: 8 additions & 8 deletions Changhun-Han/src/baekjoon/BOJ_10707.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.io.IOException;
import java.util.Scanner;
Expand All @@ -11,25 +11,25 @@
* </a>
*/
public class BOJ_10707 {

public static void main (String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
int A = sc.nextInt();
int B = sc.nextInt();
int C = sc.nextInt();
int D = sc.nextInt();
int P = sc.nextInt();

int X = A * P;
int Y = B;

if (P > C) {
Y += (P - C) * D;
}

System.out.println(min(X, Y));

sc.close();
}
}

}
8 changes: 4 additions & 4 deletions Changhun-Han/src/baekjoon/BOJ_10718
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package ChanghunHan.baekjoon;
package src.ChanghunHan.baekjoon;

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

public static void main (String[] args) {
System.out.println("강한친구 대한육군");
System.out.println("강한친구 대한육군");
}
}

}
10 changes: 5 additions & 5 deletions Changhun-Han/src/baekjoon/BOJ_10768.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.io.BufferedReader;
import java.io.IOException;
Expand All @@ -13,14 +13,14 @@
* </a>
*/
public class BOJ_10768 {

public static void main (String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int month = parseInt(br.readLine());
int day = parseInt(br.readLine());
LocalDate standard = LocalDate.of(2015, 2, 18);
LocalDate date = LocalDate.of(2015, month, day);

if (date.isEqual(standard)) {
System.out.println("Special");
}
Expand All @@ -32,5 +32,5 @@ else if (date.isAfter(standard)) {
}
br.close();
}
}

}
10 changes: 5 additions & 5 deletions Changhun-Han/src/baekjoon/BOJ_10797.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package baekjoon;
package src.baekjoon;

import java.io.BufferedReader;
import java.io.IOException;
Expand All @@ -13,14 +13,14 @@
* </a>
*/
public class BOJ_10797 {

public static void main (String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer cars;
int count = 0;
int day = parseInt(br.readLine());
cars = new StringTokenizer(br.readLine());

for (int i = 0; i < 5; i++) {
if (day == parseInt(cars.nextToken())) {
count++;
Expand All @@ -29,5 +29,5 @@ public static void main (String[] args) throws IOException {
System.out.println(count);
br.close();
}
}

}
Loading