Skip to content

Instantly share code, notes, and snippets.

@KSH-code
Created April 10, 2018 08:51
BOJ 백준온라인져지 8741 이진수 풀이
import java.util.*;
import java.io.*;
/**
* https://www.acmicpc.net/problem/8741
* BOJ 백준온라인져지 8741 이진수 풀이
*/
public class Main {
private static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
public static void main (String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int N = Integer.parseInt(br.readLine());
for (int i = 0; i < N; i++) bw.write("1");
for (int i = 1; i < N; i++) bw.write("0");
bw.flush();
}
}
@KSH-code
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment