728x90

재귀 7

95 삐약 : 백준 2630 | 쿼드트리 [바킹독| 재귀 |JAVA]

https://www.acmicpc.net/problem/1992  package BKD_0x0B_Recursion;import java.io.*;import java.util.StringTokenizer;public class BOJ_1992 { static char[][] input; static int white, blue =0; static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new Inpu..

94 삐약 : 백준 2630 | 색종이 만들기 [바킹독| 재귀 |JAVA]

https://www.acmicpc.net/problem/2630  package BKD_0x0B_Recursion;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.StringTokenizer;public class BOJ_2630 { static int[][] input; static int white, blue =0; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(..

93 삐약 : 백준 1780| 종이의 개수 [바킹독| 재귀 |JAVA]

https://www.acmicpc.net/problem/1780 package BKD_0x0B_Recursion;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.StringTokenizer;public class BOJ_1780 { static int[][] input; static int minus, zero, plus =0; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamRe..

91 삐약 : 백준 11729| 하노이탑 이동순서 [바킹독| 재귀 |JAVA]

https://www.acmicpc.net/problem/11729  package BKD_0x0B_Recursion;import java.io.BufferedWriter;import java.io.IOException;import java.io.OutputStreamWriter;import java.util.Scanner;public class BOJ_11729 { static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in)..

728x90