import sys
n = int(input())
line_dot = 2
for _ in range(n):
line_dot += line_dot-1
print(line_dot**2)
์ ํ์์ ๊ตฌํ์ฌ ํ์ด
'Algorithm > Softeer' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Softeer - level2] ๋ฐ์ด๋ฌ์ค (0) | 2023.07.25 |
---|---|
[Softeer - level2] ๊ธ๊ณ ํธ์ด (0) | 2023.07.25 |
[Softeer - level2] 8๋จ ๋ณ์๊ธฐ (0) | 2023.07.25 |
[Softeer - level3] ์ค๋งํธ ๋ฌผ๋ฅ (0) | 2023.07.24 |
[Softeer - level3] ํ๋ฐฐ ๋ง์คํฐ ๊ด์ฐ (0) | 2023.07.24 |