https://www.acmicpc.net/problem/27434
1
2
3
4
5
6
|
from math import factorial
if __name__ == '__main__':
n = int(input())
print(factorial(n))
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
leetcode 42. Trapping Rain Water (0) | 2023.02.09 |
---|---|
백준 27389 Metronome (0) | 2023.02.09 |
백준 27433 팩토리얼 2 (0) | 2023.02.09 |
leetcode 5. Longest Palindromic Substring (0) | 2023.02.08 |
백준 25630 팰린드롬 소떡소떡 (0) | 2023.02.08 |
댓글