@@ -0,0 +1,1246 @@
+package boj_2523;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.BufferedWriter;%0Aimport java.io.InputStreamReader;%0Aimport java.io.OutputStreamWriter;%0A%0A/**%0A * %EB%B0%B1%EC%A4%80 %EC%98%A8%EB%9D%BC%EC%9D%B8 %EC%A0%80%EC%A7%80 2523%EB%B2%88 (%EB%B3%84 %EC%B0%8D%EA%B8%B0 - 13) %EB%AC%B8%EC%A0%9C%ED%92%80%EC%9D%B4%0A *%0A * @see https://www.acmicpc.net/problem/2523%0A * @author devetude%0A */%0Apublic class Main %7B%0A    private static final String STAR = %22*%22;%0A    private static final String NEW_LINE = %22%5Cn%22;%0A%0A    public static void main(String args%5B%5D) %7B%0A        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A             BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out))) %7B%0A            int n = Integer.parseInt(br.readLine());%0A%0A            for (int i = 1; i %3C n; i++) %7B%0A                for (int j = 1; j %3C= i; j++) %7B%0A                    bw.write(STAR);%0A                %7D%0A                bw.write(NEW_LINE);%0A            %7D%0A            for (int i = 1; i %3C= n; i++) %7B%0A                bw.write(STAR);%0A            %7D%0A            bw.write(NEW_LINE);%0A            for (int i = n - 1; 0 %3C i; i--) %7B%0A                for (int j = 1; j %3C= i; j++) %7B%0A                    bw.write(STAR);%0A                %7D%0A                bw.write(NEW_LINE);%0A            %7D%0A%0A            bw.flush();%0A        %7D catch (Exception ignored) %7B%0A        %7D%0A    %7D%0A%7D%0A

Add problem 2523