백준 브론즈3

    [백준, BOJ 23971] ZOAC 4 (java)

    https://www.acmicpc.net/problem/23971메모리: 14,204 KB , 시간: 100 ms사용 알고리즘: 사칙연산, 수학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(..

    [백준, BOJ 5073] 삼각형과 세 변 (java)

    https://www.acmicpc.net/problem/5073메모리: 14,156 KB , 시간: 96 ms사용 알고리즘: 구현, 수학import java.io.BufferedReader;import java.io.InputStreamReader;import java.util.Arrays;import java.util.StringTokenizer;public class Main { public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder result = new String..

    [백준, BOJ 10162] 전자레인지 (java)

    https://www.acmicpc.net/problem/10162메모리: 14,272 KB , 시간: 104 ms사용 알고리즘: 그리디 알고리즘, 구현, 수학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)); int T = Integer.parseInt(br.readLine()); if(T % 10 != 0) { // T초를 맞출 수 ..

    [백준, BOJ 3460] 이진수 (java)

    https://www.acmicpc.net/problem/3460메모리: 14,016 KB , 시간: 96 ms사용 알고리즘: 구현, 수학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)); int T = Integer.parseInt(br.readLine()); StringBuilder result = new StringBuilder()..

    [백준, BOJ 1267] 핸드폰 요금 (java)

    https://www.acmicpc.net/problem/1267메모리: 15,768 KB , 시간: 112 ms사용 알고리즘: 사칙연산, 수학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)); int N = Integer.parseInt(br.readLine()); int y..