구현
![나무 재테크 - 16235번](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fuepnw%2FbtrzLxIU0eW%2FVvbUZewHS2awhjBxUx5uN0%2Fimg.png)
나무 재테크 - 16235번
package com.company; import java.io.*; import java.util.*; public class Main { static int[][] d = {{-1, -1}, {-1, 0}, {-1, 1}, {0, -1}, {0, 1}, {1, -1}, {1, 0}, {1, 1}}; static int[][] arr, winter; static int N, M, K; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.re..
![큐빙 - 5373번](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fbf4NFY%2FbtryKXCXvA2%2FOEimwbhM7gKuAY75Agyerk%2Fimg.png)
큐빙 - 5373번
내 코드 package com.company; import java.io.*; import java.util.*; public class Main { static char[][][] cube; // 큐브 static StringBuilder sb; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); sb = new StringBuilder(); StringTokenizer st = null; int T = Integer.parseInt(br.readLine()); Map map = new HashMap(); // 큐브 ..
![톱니바퀴 - 14891번](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbsgVQ9%2Fbtryk3qcxvc%2FOOPmlEF13q4Rz80YH82e1K%2Fimg.png)
톱니바퀴 - 14891번
내 코드 package com.company; import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = null; int answer = 0; int[] check = new int[4]; // 각 톱니바퀴 회전 방향 LinkedList[] lists = new LinkedList[4]; // 톱니바퀴 for (int i = 0; i < 4; i++) { String s = br.rea..
![경사로 - 14890번](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcCcfG6%2FbtrxVHon6Vb%2FxriSSsqaq6k4xTyOUBIexk%2Fimg.png)
경사로 - 14890번
내 코드 package com.company; import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int N = Integer.parseInt(st.nextToken()); int L = Integer.parseInt(st.nextToken()); int[][] arr = new int[N + 1][N + 1]; in..