728x90
728x90
01 ๋ฌธ์
02 ์๊ณ ๋ฆฌ์ฆ
- ์ญ์์๋ฆฌ, ์ผ์์๋ฆฌ ์ซ์์ธ ๊ฒฝ์ฐ, ํญ์ ๋ฑ์ฐจ์์ด์ ์กฐ๊ฑด์ ๋ง์กฑํ๋ค.
- ๋ฐฑ์์๋ฆฌ์ธ ๊ฒฝ์ฐ, ๊ฐ ์๋ฆฌ์๊ฐ ๋ฑ์ฐจ์์ด์ธ์ง ํ์ธํ๋ค.
- n = 234 -> n/100 = 2
- n = n%100 = 34 -> n/10 = 3
- n = n%10 = 4 -> n = 4
03 ์ฝ๋
728x90
728x90
'๐ Algorithm > ์๊ณ ๋ฆฌ์ฆ-Python' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[์๊ณ ๋ฆฌ์ฆ] Day1 - ๊ดํธ (0) | 2018.08.04 |
---|---|
[์๊ณ ๋ฆฌ์ฆ] Day1 - ์คํ (0) | 2018.08.04 |
[์๊ณ ๋ฆฌ์ฆ] Day1 - ์ ํ ๋๋ฒ (0) | 2018.08.04 |
[์๊ณ ๋ฆฌ์ฆ] Day1 ํ๊ท ์ ๋๊ฒ ์ง (0) | 2018.08.04 |
[์๊ณ ๋ฆฌ์ฆ] Day1 for ๋ฌธ ์ฌ์ฉํด๋ณด๊ธฐ - ์ซ์์ ํฉ (0) | 2018.08.04 |