반응형

11050

    [백준] 11050.이항 계수 1(Java8)

    [백준] 11050.이항 계수 1(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{ //이항 계수 1(nCr) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()," "); int n = Integer.par..

반응형