| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
- math
- 투포인터
- 시뮬레이션
- 운동기록
- 백준
- SWEA
- SQL
- DP
- 문제풀이
- COS PRO
- priorityqueue
- 문제해결
- 자바
- dfs
- 코테
- MySQL
- 러닝일지
- db
- 건강
- 코딩테스트
- BOJ
- greedy
- binary search
- BFS
- Java
- 프로그래머스
- 이분탐색
- oracle
- 알고리즘
- 문자열
- Today
- Total
목록Java (469)
슈콩
[문제]https://www.acmicpc.net/problem/2473 [소스 코드]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; int n = Integer.parseInt(br.readLine()); int[] nums = new int[n]; st = new StringTokenizer(br.readLine()); for(int i=0;iMath.abs(sum)..
[문제]https://www.acmicpc.net/problem/15684 [소스 코드]import java.io.*;import java.util.*;import javax.print.attribute.standard.NumberUpSupported;public class Main { static int n,h; static boolean[][] ladder; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); ..
[문제]https://www.acmicpc.net/problem/15683 [소스 코드]import java.io.*;import java.util.*;import javax.print.attribute.standard.NumberUpSupported;public class Main { static class CCTV{ int r,c,type; CCTV(int r,int c,int type){ this.r = r; this.c = c; this.type = type; } } static int n,m; static int[][] copyM; static int result = 64; static int[] dr = {-1,0,1,0}; static int[] dc = {0,1,0,-1}..
[문제]https://www.acmicpc.net/problem/14891 [소스 코드]import java.io.*;import java.util.*;import javax.print.attribute.standard.NumberUpSupported;public class Main { static int[][] gear; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; gear = new int[4][8]; for(int i=0;i0) { st = new String..
가능한 경로 1개씩 Check ! [문제]https://www.acmicpc.net/problem/14890 [소스 코드]import java.io.*;import java.util.*;import javax.print.attribute.standard.NumberUpSupported;public class Main { static int n,l; static int[][] map; static int result = 0; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = ..
IDX 주의 [문제]https://www.acmicpc.net/problem/14889 [소스 코드]import java.io.*;import java.util.*;import javax.print.attribute.standard.NumberUpSupported;public class Main { static int n; static int[][] team; static boolean[] visit; static int result = Integer.MAX_VALUE; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.i..
[문제]https://www.acmicpc.net/problem/2467 [소스 코드]import java.io.*;import java.util.*;import javax.print.attribute.standard.NumberUpSupported;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; int n = Integer.parseInt(br.readLine()); int[] nums = new int[n]; st = new Str..
[문제]https://www.acmicpc.net/problem/14888 [소스 코드]import java.io.*;import java.util.*;public class Main { static int n; static int[] nums; static int min = Integer.MAX_VALUE; static int max = Integer.MIN_VALUE; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); n = Integer.parseInt(br.readLine()); nums = new in..
[문제]https://www.acmicpc.net/problem/14503 [소스 코드]import java.io.*;import java.util.*;public class Main { static int n,m; static int[][] map; static int result = 0; static int[] dr = {-1,0,1,0}; static int[] dc = {0,1,0,-1}; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokeni..
[문제]https://www.acmicpc.net/problem/2143 [소스 코드]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; long t = Long.parseLong(br.readLine()); int n = Integer.parseInt(br.readLine()); long[] a = new long[n]; st = new StringTokenizer(br...