일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 기술블로그
- jwt
- kafkaconsumer
- codingtest
- java
- 알고리즘
- Django
- IT
- 한이음
- 선택정렬
- 회고록
- 코딩테스트
- 트러블슈팅
- kafka
- 코테
- 협업도구
- AWS
- 자료구조
- testcode
- 기록
- 문자열압축
- github
- git
- 시스템프로그래밍
- c
- 자바
- 공부기록
- 백준
- SpringSecurity
- 문자열함수
- Today
- Total
목록CodingTest (33)
신뇽이 되어보자
구분 : 그리디 public class Main { //1343번 폴리오미노 public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); String str = br.readLine(); String[] arr = str.split("\\."); int strlen = str.length(); for (int i = 0; i = 4) { sb.ap..
구분 : 그래프 탐색 문제 이해가 잘 안됐던 문제import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.ArrayList;import java.util.LinkedList;import java.util.StringTokenizer;public class Main { static ArrayList[]graph; static boolean []visited; static int answer = 0; public static void main(String[] args) throws IOException { //13023번 - ABCDE ..
구분: 그래프 탐색public class Main { static int n,k; static Queue q; static boolean[] visited; public static int max = 100000; static int count = Integer.MAX_VALUE; public static void main(String[] args) throws IOException { //13549번 - 숨박꼭질 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLi..
구분 : 그리디public class Main { static int N; static int result; static int min; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); N = Integer.parseInt(br.readLine()); result = 0; int count = 0; int temp = 0; while(true){ if(N%5 == 0){ ..
구분: 구현public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int []arr = new int[14]; int zun=0; int sung=0; int zn = n; int sn = n; int resultz = 0; int results = 0; StringTokenize..
구분 : 구현 코드public class Main { //14467 소가 길을 건너간 이유 1 static int n; static int[] cow; static boolean[] isfirst; static int result; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; n = Integer.parseInt(br.readLine()); result = 0; cow = new i..