문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringToken..
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.HashSet; import java.util.StringTokenizer; 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()); StringTokenizer st = new StringTokenizer(br.readLine()); HashSet hs = new ..
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; 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()); ArrayList arr = new ArrayList(); for (int i = 0..
문제 코드 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 input = br.readLine(); System.out.println(Integer.parseInt(input, 16)); } } 출처 https://www.acmicpc.net/problem/1550
문제 코드 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)); StringBuilder sb = new StringBuilder(); int n = Integer.parseInt(br.readLine()); int sum = 1; for (int i = 0; i < n; i++) { sb.append(sum++ + "\n"); } System.out.println(sb); ..
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine(), ","); int sum = 0; while (st.hasMoreTokens()) { sum += Integer.parseInt(st.nextToken(..
문제 코드 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int sum = 0; while (st.hasMoreTokens()) { sum += Integer.parseInt(st.nextToken()); }..
문제 코드 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(" "); if (arr.length 4) { return; } String a = arr[0] + arr[1]; String b = arr[2] + arr[3]; System.out.println(Long.valueOf(a) + Long.valueO..
- Total
- Today
- Yesterday
- 10826
- 함수형사고 Kotlin Java
- 1260
- mssql
- 1237
- kotlin
- 조세퍼스 문제
- Eclipse
- constraintlayout
- algorihtm
- 피보나치 수 4
- 알고리즘
- 자동타입
- a^b
- 1158
- 영상처리
- 10827
- 최대공약수와 최소공배수
- OpenCV
- 큰 수 A+B
- 2743
- #android #motionlayout
- javacv
- #kotlin
- 10828
- 10757
- GCD 합
- 단어 길이 재기
- 문자열
- algorithm
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |