This file contains 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
public class programmers_타겟넘버_1231 { | |
static int count = 0; | |
static int[] numberArray; | |
static int targetNumber = 0; | |
public static void main(String[] args) { | |
int[] numbers = { 1, 1, 1, 1, 1 }; | |
solution(numbers, 3); | |
} |
This file contains 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
/** | |
* https://www.acmicpc.net/problem/2616 | |
*/ | |
import java.io.*; | |
import java.util.*; | |
public class Main { | |
static int[] train, sum; | |
static int[][] DP; | |
static int max; |
This file contains 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.io.*; | |
import java.util.*; | |
/** | |
* https://acmicpc.net/problem/17822 | |
* | |
*/ | |
public class Main{ | |
static int[][] circlePlate; | |
static int N, M, T; |
This file contains 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
/** | |
* https://www.acmicpc.net/problem/2869 | |
*/ | |
import java.io.*; | |
import java.util.*; | |
public class boj_2869_1117_2 { | |
public static void main(String[] args) throws IOException { | |
BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); |
This file contains 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
/** | |
* https://www.acmicpc.net/problem/2869 | |
*/ | |
import java.io.*; | |
import java.util.*; | |
public class boj_2869_1117 { | |
public static void main(String[] args) throws IOException { | |
BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); |
This file contains 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
/** | |
* https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV7GKs06AU0DFAXB | |
*/ | |
import java.io.*; | |
public class swea_2806_1103 { | |
static int board[]; // 퀸의 위치를 담는다. (board[0]=1 -> (0,1)에 하나의 퀸이 있다.) | |
static int answer; | |
public static void main(String[] args) throws IOException { |
This file contains 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
/** | |
* https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5LwsHaD1MDFAXc&categoryId=AV5LwsHaD1MDFAXc&categoryType=CODE&&& | |
*/ | |
import java.io.*; | |
public class Solution { | |
static char[][] minesweeper; | |
static int[] dx = { -1, -1, -1, 0, 0, 1, 1, 1 }; | |
static int[] dy = { -1, 0, 1, -1, 1, -1, 0, 1 }; | |
static int size; |
This file contains 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
/** | |
* https://www.acmicpc.net/problem/17471 | |
*/ | |
import java.io.*; | |
import java.util.*; | |
public class Main { | |
static int[] population; | |
static boolean visited[]; | |
static ArrayList<Integer>[] adjList; |
This file contains 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.io.*; | |
import java.util.*; | |
/** | |
* https://www.acmicpc.net/problem/17471 | |
*/ | |
public class Main { | |
static int[] population; | |
static boolean visited[]; | |
static ArrayList<Integer>[] adjList; | |
static ArrayList<Integer> groupSum = new ArrayList<>(); |
This file contains 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.Scanner; | |
/* | |
* https://www.acmicpc.net/problem/2309 | |
*/ | |
public class Main{ | |
static int totalDwarfNum = 9, realDwarfNum = 7, totalWeight = 100; | |
static boolean isFirst = true; | |
static int[] dwarf = new int[totalDwarfNum], combinationTemp = new int[realDwarfNum]; |
NewerOlder