728x90
문제 : 3D printing is becoming more and more prominent in today’s society. Unfortunately, you don’t currently have access to a 3D printer. Instead, you can just print an item with your knowledge of coding! Print a clay pot.
출력 : Output the pot exactly as shown in the example output. There are no blank lines before or after the output, and there are no trailing spaces on any of the lines.
예제 :
_________
\_ _/
\ /
| |
/ \
/ \
| |
/---------\
| \-/ \-/ |
\---------/
\_______/
print " _________"
print " \_ _/"
print " \ /"
print " | |"
print " / \"
print " / \"
print " | |"
print "/---------\"
print "| \-/ \-/ |"
print "\---------/"
print " \_______/"
FreeBASIC은 파이썬과 비슷한 문자열 출력문을 가지고 있다.
자동으로 개행이 되며 문법도 괄호의 유무 말고는 별 차이가 없다.
참고
'JAVA > Coding Test Study' 카테고리의 다른 글
[Gold V] 백준 - 25556. 포스택 : Java (1) | 2024.01.19 |
---|---|
[Bronze V] 백준 - 2393. Rook : Java (0) | 2023.12.19 |
[Bronze V] 백준 - 2372. Livestock Count : Ada (0) | 2023.12.19 |
[Bronze V] 백준 - 2338. 긴자리 계산 : Java (0) | 2023.12.19 |
[Bronze V] 백준 - 1809. Moo : Golfscript (0) | 2023.12.19 |