| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 문제풀이
- 운동기록
- SQL
- 문제해결
- BOJ
- dfs
- 투포인터
- 코테
- 이분탐색
- priorityqueue
- DP
- BFS
- 알고리즘
- 코딩테스트
- math
- 시뮬레이션
- binary search
- 백준
- Java
- 문자열
- COS PRO
- 프로그래머스
- MySQL
- greedy
- SWEA
- 건강
- 자바
- 러닝일지
- db
- oracle
- Today
- Total
목록2025/09/10 (8)
슈콩
[문제]https://www.acmicpc.net/problem/1735 [소스 코드]import java.io.*;import java.util.*;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int a1 = Integer.parseInt(st.nextToken()); int b1 = Integer.parseInt(st.nextToken()..
[문제]https://www.acmicpc.net/problem/17103 [소스 코드]import java.io.*;import java.util.*;public class Main { static List list = new ArrayList(); static boolean[] prime = new boolean[1000001]; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int t = Integer.parseInt(br.readLine()); isPrime(); whil..
[문제]https://www.acmicpc.net/problem/1676 [소스 코드]import java.io.*;import java.util.*;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int result = 0; while(n>0) { result += n/5; n /= 5; } System.out.println(result);..
자료형 실수 X[문제]https://www.acmicpc.net/problem/15894 [소스 코드]import java.io.*;import java.util.*;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); long n = Integer.parseInt(br.readLine()); long result = n*4; System.out.println(result); }}
[문제]https://www.acmicpc.net/problem/1476 [소스 코드]import java.io.*;import java.util.*;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int E = Integer.parseInt(st.nextToken()); int S = Integer.parseInt(st.nextToken());..
[문제]https://www.acmicpc.net/problem/1456 [소스 코드]import java.io.*;import java.util.*;public class Main { static List list = new ArrayList(); public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); long a = Long.parseLong(st.nextToken()); long b..
[문제]https://www.acmicpc.net/problem/1292 [소스 코드]import java.io.*;import java.util.*;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int a = Integer.parseInt(st.nextToken()); int b = Integer.parseInt(st.nextToken());..
[문제]https://www.acmicpc.net/problem/1256 [소스 코드]import java.io.*;import java.util.*;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int n = Integer.parseInt(st.nextToken()); int m = Integer.parseInt(st.nextToken());..