ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

๐Ÿ‘ฉ๐Ÿป‍๐Ÿ’ป ๋ฌธ์ œ

 

10172๋ฒˆ: ๊ฐœ

๋ฌธ์ œ ์•„๋ž˜ ์˜ˆ์ œ์™€ ๊ฐ™์ด ๊ฐœ๋ฅผ ์ถœ๋ ฅํ•˜์‹œ์˜ค. ์ž…๋ ฅ ์ถœ๋ ฅ ์˜ˆ์ œ ์ž…๋ ฅ 1 ๋ณต์‚ฌ ์˜ˆ์ œ ์ถœ๋ ฅ 1 ๋ณต์‚ฌ |\_/| |q p| /} ( 0 )"""\ |"^"` | ||_/=\\__|...

www.acmicpc.net


โœ๐Ÿป ํ’€์ด

๐ŸŽจ Go

package main

import (
	"fmt"
)

func main() {
	fmt.Println("|\\_/|")
	fmt.Println("|q p|   /}")
	fmt.Println("( 0 )\"\"\"\\")
	fmt.Println("|\"^\"`    |")
	fmt.Println("||_/=\\\\__|")
}

ํฐ๋”ฐ์˜ดํ‘œ(")์™€ ๋ฐฑ์Šฌ๋ž˜์‰ฌ(\)๋ฅผ ์ถœ๋ ฅํ•˜๊ธฐ ์œ„ํ•˜์—ฌ escape ๋ฌธ์ž๋ฅผ ์•ž์— ๋ถ™์—ฌ์ฃผ์–ด์•ผ ํ•œ๋‹ค. (\"), (\\)

๐ŸŽจ Python3

print('|\_/|')
print('|q p|   /}')
print('( 0 )"""\\')
print('|"^"`    |')
print('||_/=\\\\__|')
728x90

'dev > algorithm' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

BOJ / 1001๋ฒˆ / A-B [Go] [Python3]  (0) 2020.03.13
BOJ / 1000๋ฒˆ / A+B [Go] [Python3]  (0) 2020.03.13
BOJ / 10171๋ฒˆ / ๊ณ ์–‘์ด [Go] [Python3]  (0) 2020.03.13
BOJ / 10718๋ฒˆ / We love kriii [Go] [Python3]  (0) 2020.03.13
BOJ / 2557๋ฒˆ / Hello World [Go] [Python3]  (0) 2020.03.12
๋Œ“๊ธ€