This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package sdk.algo.dynamic; | |
| import java.util.Scanner; | |
| /** | |
| * 정올, 1520, 다이나믹 | |
| * 계단오르기 | |
| * | |
| * @author whitebeard-k | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package sdk.algo.dnq; | |
| import java.util.Scanner; | |
| /** | |
| * 정올, 분할정복, 1335 | |
| * 색종이만들기 | |
| * | |
| * @author whitebeard-k | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.ArrayList; | |
| import java.util.List; | |
| /** | |
| * 리스트를 이용한 조합 예 | |
| * 0, 1, 2 세가지 숫자에서 2가지 숫자를 선택하여 만들 수 있는 수의 조합 | |
| * | |
| * @author whitebeard-k | |
| * | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package sdk.example.mst; | |
| import java.io.FileNotFoundException; | |
| /** | |
| * 최단거리 신장트리 생성을 위한 프림 알고리즘 구현 | |
| * | |
| * @author whitebeard-k | |
| * | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| /** | |
| * 정올, 다이나믹, 1871 | |
| * 줄세우기 | |
| * | |
| * @author whitebeard-k | |
| * | |
| */ | |
| public class Problem1871 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Arrays; | |
| import java.util.Comparator; | |
| import java.util.Scanner; | |
| /** | |
| * 정올, 다이나믹, 1408 | |
| * 전봇대 | |
| * | |
| * @author whitebeard-k | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| /** | |
| * 정올, 1411, 다이나믹 | |
| * 두 줄로 타일 깔기 | |
| * | |
| * @author whitebeard-k | |
| * | |
| */ | |
| public class Problem1411 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.LinkedList; | |
| import java.util.Queue; | |
| import java.util.Scanner; | |
| /** | |
| * 정올, bfs, 2613 | |
| * 토마토 | |
| * @author whitebeard-k | |
| * | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| string="abc def gh" | |
| if [[ $string =~ "c d" ]]; then | |
| echo "true" | |
| else | |
| echo "false" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| /** | |
| * 백준, 1932, 숫자 삼각형 | |
| * | |
| * @author whitebeard | |
| * | |
| */ | |
| public class Problem1932 { | |
| public static void main(String[] args) { |