[백준/Java] 10189 : Hook

SEOP·2024년 6월 25일
0

import java.io.*;

public class Main {
    public static void main(String[] args) throws IOException {
            BufferedWriter bw = new BufferedWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
    
            String hook = "#  # #### #### #  #\n" +
                        "#### #  # #  # # #\n"    +
                        "#### #  # #  # # #\n"    +
                        "#  # #### #### #  #";

            bw.write(hook);
    
            bw.flush();
            bw.close();
    }
}
profile
응애 나 애기 개발자

0개의 댓글