Skip to content

Files

Latest commit

65362c7 ยท Nov 23, 2020

History

History

P2193

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 23, 2020
Nov 23, 2020

[baekjoon-2193] ์ด์นœ์ˆ˜

image

์ฃผ์˜ํ•  ์ 

N์˜ ๋ฒ”์œ„๊ฐ€ 1 โ‰ค N โ‰ค 90์œผ๋กœ ์ฃผ์–ด์กŒ๊ธฐ ๋•Œ๋ฌธ์— ๊ฒฐ๊ณผ๊ฐ’์ด ๋งค์šฐ ํด ์ˆ˜ ์žˆ๋Š”๋ฐ, ๋”ฐ๋กœ mod ๊ฐ’์ด ์ฃผ์–ด์ง€์ง€ ์•Š์•˜์œผ๋ฏ€๋กœ ๋ฐ˜๋“œ์‹œ dp ๋ฐฐ์—ด์„ long์œผ๋กœ ์„ ์–ธํ•ด์•ผ ํ•œ๋‹ค.

image