- spring security 6
- 스프링부트
- SSL
- select
- Django
- string
- 스프링
- spring mvc
- mysql
- nginx
- static
- ORM
- join
- PYTHON
- springboot
- spring
- AWS
- 문자열
- 1차원 배열
- spring boot
- java
- sql
- Docker
- jpa
- 데이터베이스
- 자바
- DI
- 프로그래머스
- hibernate
- @transactional
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
목록Algorithm (21)
개발하는 자몽
문제 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); byte res = (byte) br.readLine().charAt(0); System.out.println(res); } }
문제 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { // 1. 한 자리 숫자는 한수로 정의 // 2. 두 자리 숫자는 모두 공차가 정해진 등차수열이므로 한수임 // 3. 세 자리 숫자는 공차를 계산해 등차수열인지 확인 필요 // 4. 입력값은 1000 이하의 숫자, 1000은 한수가 아니므로 세 자리 숫자가 등차수열인지 확인 BufferedReader br = new BufferedReader(new InputStreamReader(Syst..
문제 코드 public class Main { public static void main(String[] args) { boolean[] check = new boolean[10001]; // 1~10000 for (int i = 1; i
문제 코드 public class Test { long sum(int[] a) { long ans = 0; for(int i=0; i
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.util.StringTokenizer; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); double sum = 0; double avg = 0; int outer = Integer.parseInt(br.readLine(..
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main{ public static void main(String[] args) throws IOException { int total = 0; int temp = 0; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); String quiz[] = new String[Integer.parseInt(br.readLine())]; for(int i=0; i
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.util.StringTokenizer; import java.util.Arrays; public class Main{ public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); double arr[] = new double[Integer.parseInt(br.readLine())]; StringTokenizer st = new St..
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main{ public static void main(String[] args) throws IOException { boolean[] arr = new boolean[42]; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); for(int i=0; i
문제 코드 import java.util.Scanner; import java.util.stream.Stream; public class Main{ public static void main(String[] args){ int a, b, c; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); int res = a*b*c; int arr_res[] = Stream.of(String.valueOf(res).split("")).mapToInt(Integer::parseInt).toArray(); int cnt[] = new int[10]; for(int i=0; i