// 알고리즘 1. dfs 탐색 2. 건물 층 수 만큼의 방문배열 생성 v 3. 방향 배열생성 dr {U, -D} 4. bfs 탐색 시작. 도착하면 종료 더보기 import java.util.*; import java.io.*; public class Main { static int F, S, G, U, D, ans; static boolean[] v; static int[] dr; static class Point { int start, cnt, state; public Point(int start, int cnt, int state) { this.start = start; this.cnt = cnt; this.state = state; } } public static void main(String[]..
git branch -l -a -r -D -m -v -l: 로컬브랜치목록 (생략가능 git branch) -a: 로컬+원격 브랜치목록 -r: 원격브랜치목록 -D 브랜치명: 로컬브랜치 삭제 ex) git branch -D branch1 -m 브랜치명 바꿀브랜치명: 브랜치 이름바꾸기 ex) git branch -m branch1 branch2 -v: 로컬브랜치목록+마지막커밋내역 출처 : git-scm.com/book/ko/v2 Git - Book git-scm.com
// 알고리즘 1. 조합 2. 받은 문자열을 정렬 3. 조합 4. 완성된 문자열중 주어진 조건과 일치한다면 StringBuilder에 저장 5. 출력. 더보기 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class 암호만들기_1759 { static int L, C; static char arr[], ans[]; static StringBuilder sb; public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in))..