목록2xn타일링 (1)
hara
BEAKJOON JAVA ALGORITHM #11726(2xn타일링)
https://www.acmicpc.net/problem/11726 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class a11726 { 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]; a[0]=1; if(num>=2){ a[1]=2;..
공부/알고리즘
2017. 4. 2. 22:48