목록4와7 (1)
hara
BEAKJOON JAVA ALGORITHM #2877(4와7)
https://www.acmicpc.net/problem/2877 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num=Integer.parseInt(br.readLine()); int[] a=new int[num+1]; a[0]=4; if(num==2){ a[1]=7; ..
공부/알고리즘
2017. 4. 6. 17:28