Post

[BOJ 25083] 새싹

Baekjoon Online Judge 25083(Java 11)
[새싹] 문제 풀이

[BOJ 25083] 새싹

-> 문제 바로가기



시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초1024 MB174765910908419453.288%

문제


  • 아래 예제와 같이 새싹을 출력하시오.


입력


  • 입력은 없다.


출력


  • 새싹을 출력한다.


예제


1
2
// 입력

1
2
3
4
5
6
7
// 출력
         ,r'"7
r`-_   ,'  ,/
 \. ". L_r'
   `~\/
      |
      |


출처



알고리즘 분류



제출할 수 없는 언어


  • Text, PHP







제출



내 제출


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import java.io.*;

public class Main {
    public static void solution() throws IOException {
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));

        bw.write("         ,r'\"7");
        bw.newLine(); // 줄 바꿈

        bw.write("r`-_   ,'  ,/");
        bw.newLine(); // 줄 바꿈

        bw.write(" \\. \". L_r'");
        bw.newLine(); // 줄 바꿈

        bw.write("   `~\\/");
        bw.newLine(); // 줄 바꿈

        bw.write("      |");
        bw.newLine(); // 줄 바꿈

        bw.write("      |");
        bw.newLine(); // 줄 바꿈


        bw.flush();
        bw.close();
    }

    public static void main(String[] args) throws IOException {
        solution();
    }
}


런타임메모리
96 ms13956 KB


Reference


This post is licensed under CC BY 4.0 by the author.