일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 너비우선탐색
- 탐욕법
- 백준
- 깊이우선탐색
- mariaDB
- 그리디알고리즘
- Spring
- 피보나치
- 정렬
- java
- BFS
- Effective Java
- 프로그래머스
- SQL
- join
- IntelliJ
- 코테
- mybatis
- DP
- springboot
- 데이터베이스
- Database
- 이펙티브자바
- select
- DFS
- 알고리즘
- 우선순위큐
- db
- Greedy
- 다이나믹프로그래밍
- Today
- Total
목록java (150)
땀두 블로그

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class p1018 { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine(), " "); int a = Integer.par..

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class p11050 { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine(), " "); int a = Integer.pa..

import java.util.Scanner; public class p2869{ public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int v = sc.nextInt(); int cnt = 0; for (;;) { cnt++; v -= a; if (v

import java.util.Scanner; public class p2839 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int max = 99999; for (int i = 0; i = i + j) { max = i + j; } } } } if(max == 99999) { System.out.println("-1"); } el..

import java.util.Scanner; public class p1259 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int idx = 0; int flag = 0; for (;;) { String s = sc.nextLine(); if (Integer.parseInt(s) == 0) { return; } if (s.length() % 2 == 0) { idx = s.length() / 2; for (int i = 0; i < s.length() / 2; i++) { if (s.charAt(i) != s.charAt(s.length() -..