== Status == ||Problem||2245||User||talin0528|| ||Memory||5060K||Time||266MS|| ||Language||Java||Result||Accepted|| == Source == {{{ import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNextInt()){ int k = sc.nextInt(); if(k==0) System.exit(0); int[] S = new int [k]; for(int i=0; i0){ temp[num++] = i%2; i = i/2; } return temp; } } }}} == Trial and Error == * Presentation Error - 다 출력하고 마지막에 엔터 하나 더 쳐야함. ---- [ACM_ICPC/2011년스터디]