import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); long N = Integer.parseInt(br.readLine()); int pow = 1; boolean b = false; if (N == pow) { System.out.println(1); } else { for (int i = 0; i < 30; i++) { pow *= 2; if (N == pow) { b ..
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; public class Main { static int N, sum, topSum, bottomSum; static int[] arr; static double answer, personNum; public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); N = Integer.parseInt(br.readLine()); arr = new int[N]; for (int i =..
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { static int N, M, aMin, bMin, price, answer; static int[] arr, brr; static int getMin(int[] arr) { int min = arr[0]; for (int value : arr) { if (value < min) { min = value; } } return min; } public static void main(String[] args) throws Exception { BufferedReader br = new Buffere..
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String N = br.readLine(); int[] numArr = new int[10]; // 0~9 for (int i = 0; i < N.length(); i++) { numArr[N.charAt(i) - '0']++; } int sum69 = numArr[6] + numArr[9]; // 6,9의 합 int r..
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { /** * #1919) 에너그램 만들기 * 두 개의 단어가 순서를 바꿔서 같아질 수 있으면 이걸 에너그램이라고 함 * 두 단어가 서로 애너그램 관계에 있도록 만들기 위해서 제거해야 하는 문자의 최소 개수 * 문자를 제거할 때에는 아무 위치에 있든 상관 없음 * 문자 A,B에서 둘다 제거가능 */ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String A = br.r..
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws Exception { /** * #13300) 방 배정 * 1. 같은 성별끼리 * 2. 같은 학년끼리 * 3. 한 방에 한 명도 가능 * 4. 한 방의 최대 인원수 K * == 조건에 맞게 모든 학생을 배정하기 위한 방의 최소 개수 == */ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = ne..
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { private static int[][] alpha; private static final String P = "Possible"; private static final String I = "Impossible"; private static final String NEW_LINE = "\n"; public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamRea..
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); int[] count = new int[10]; // 0 ~ 9 10 String total = String.valueOf(a * b * c); for (int i = 0; i < total.length(); i++) { count[total.charAt(i) - '0']++; // char형에서 int형으로 반환할때 - '0'을 해준..
- Total
- Today
- Yesterday
- ㅇㄷㅇㅈ
- JPA 연관관계 매핑
- dreamcoding
- JS 딥다이브
- 가상 면접 사례로 배우는 대규모 시스템 설계 기초
- 백기선 스터디
- 킹수빈닷컴
- 이펙티브자바
- HTTP 완벽 가이드
- GCP
- 백준
- 프로그래머스 SQL
- BOJ
- js promise
- 이펙티브자바 아이템60
- 김영한 http
- 김영한 JPA
- 이펙티브자바 스터디
- 이펙티브자바 아이템59
- js array
- 드림코딩
- REST API
- 모던자바스크립트
- 프로그래머스
- java
- 패스트캠퍼스 컴퓨터공학 완주반
- http
- js api
- Spring Security
- HTTP 완벽가이드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |