반응형

부르트포스

    [백준] 2798.블랙잭(Java8)

    [백준] 2798.블랙잭(Java8)

    문제 풀이 package solved2; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; 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...

    [백준] 1476.날짜 계산(Java8)

    [백준] 1476.날짜 계산(Java8)

    문제 풀이 package Implementation; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; 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.par..

    [백준] 7568.덩치(Java8)

    [백준] 7568.덩치(Java8)

    문제 풀이 package Implementation; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; 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[][] arr = new int[n][2]; Str..

반응형