문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; import java.util.Queue; public class Main { static ArrayList[] a; static boolean[] c; public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] input = br.re..
문제 코드 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[] arr = br.readLine().split(""); System.out.println(arr.length); } } 출처 https://www.acmicpc.net/problem/2743
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] arr = br.readLine().split(" "); int n = Integer.parseInt(arr[0]); int m = Integer.parseInt(arr[1]); Queue q = new..
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Stack; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str = br.readLine().split(""); int n = Integer.parseInt(br.readLine()); Stack leftStack = new Stack(), rightStack = new Stack(); for (int i = ..
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Stack; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); Stack s = new Stack(); StringBuilder sb = new StringBuilder(); for (int i = 0; i < n; i++) { String[] input = ..
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigDecimal; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] arr = br.readLine().split(" "); BigDecimal output = new BigDecimal(arr[0]).pow(Integer.parseInt(arr[1])); System.out.println(output.toPla..
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] arr = br.readLine().split(" "); System.out.println(new BigInteger(arr[0]).add(new BigInteger(arr[1]))); } } 출처 https://www.acmicpc.net/pr..
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); BigInteger[] bi = new BigInteger[n + 2]; bi[0] = BigInteger.ZERO; // 0 bi[1] = BigInteger.ONE; // 1 for (..
- Total
- Today
- Yesterday
- algorithm
- 큰 수 A+B
- kotlin
- 자동타입
- Eclipse
- 10826
- #kotlin
- 최대공약수와 최소공배수
- 10757
- 1260
- 조세퍼스 문제
- constraintlayout
- GCD 합
- mssql
- 문자열
- 함수형사고 Kotlin Java
- 피보나치 수 4
- javacv
- 알고리즘
- #android #motionlayout
- OpenCV
- algorihtm
- 1237
- 2743
- 10827
- 1158
- a^b
- 단어 길이 재기
- 영상처리
- 10828
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |