728x90
문제 링크: https://www.acmicpc.net/problem/2903
2903번: 중앙 이동 알고리즘
상근이는 친구들과 함께 SF영화를 찍으려고 한다. 이 영화는 외계 지형이 필요하다. 실제로 우주선을 타고 외계 행성에 가서 촬영을 할 수 없기 때문에, 컴퓨터 그래픽으로 CG처리를 하려고 한다.
www.acmicpc.net
문제 풀이
한 변에는 점이 총
코드
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print((1+2**(int(input())))**2) |
728x90
'BOJ' 카테고리의 다른 글
[BOJ][Python] 백준 18870번 - 좌표 압축 (0) | 2021.09.22 |
---|---|
[BOJ][Python] 백준 14621번 - 나만 안되는 연애 (0) | 2021.09.21 |
[BOJ][Python] 백준 10822번 - 더하기 (0) | 2021.09.21 |
[BOJ][Python] 백준 14889번 - 스타트와 링크 (0) | 2021.09.21 |
[BOJ][Python] 백준 22993번 - 서든어택 3 (0) | 2021.09.21 |