๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
์‹œ๋„/Code-States

[D+57] ์•Œ๊ณ ๋ฆฌ์ฆ˜ ๋ฌธ์ œ 2๋ฒˆ

by ๐Ÿ‡๋ฐ•๋ด‰๋ด‰๐Ÿ‡ 2020. 11. 2.

 

 

D+57

-  ์•Œ๊ณ ๋ฆฌ์ฆ˜๋ฌธ์ œ 2๋ฒˆ -

(Toy Problem 02)

 


 

 

# 02

์ด ๋ฌธ์ œ๋Š” ํ”„๋ฆฌ์ฝ”์Šค ๋‹น์‹œ๋•Œ ๋น„์Šทํ•œ ์œ ํ˜•์œผ๋กœ ํ’€์–ด๋‚˜๊ฐ€๋Š” ๋ฌธ์ œ๊ฐ€ ์žˆ์–ด์„œ

๊ทธ ๋ฌธ์ œ๋ฅผ ์ƒ๊ฐํ•˜๋ฉด์„œ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•ด ๋ณด์•˜๋‹ค.

 

์‚ฌ์‹ค ์ด ๋ฐฉ๋ฒ• ๋ง๊ณ ๋„ ๋‹ค๋ฅธ ๋ฐฉ๋ฒ•์ด ์žˆ๋Š”์ง€๋Š” ๋ชจ๋ฅด๊ฒ ๋‹ค.

(์•„๋งˆ ์žˆ๋‹ค๋ฉด ๊ฐ์ฒด๊ฐ€ ์•„๋‹ˆ๋ผ ๋ฐฐ์—ด์•ˆ์— ๋„ฃ๋Š”๊ฑฐ...?)

 

๋ฌธ์ œ ๋‹ค ํ’€๊ณ  ๋ ˆํผ๋Ÿฐ์Šค ๋ณด๋Š”๋ฐ ์ž‘์„ฑํ•œ ์ฝ”๋“œ์™€ ์ƒ๋‹นํžˆ ํก์‚ฌํ•ด์„œ ๋ฟŒ๋“ฏํ•˜๋ฉด์„œ๋„

๋ฐฉ๋ฒ•์ด ํ•œ์ •์ ์ด์˜€๋Š”๊ฐ€์— ๋Œ€ํ•ด ๋‹ค์‹œ ์ƒ๊ฐํ•ด ๋ณด์•˜๋˜ ๋ฌธ์ œ์˜€๋‹ค.

 

์ผ๋‹จ์€ ์„ฑ๊ณต!

 

 

 

๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€