Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 백준
- 재귀
- Material
- 파이썬
- 문제풀이
- Class
- Tutorial
- loop
- Algorithm
- UE5
- 기초
- Basic
- C#
- guide
- Unreal Engine 5
- DP
- Unity
- w3school
- c++
- github
- 프로그래밍
- String
- dynamic
- W3Schools
- parameter
- Programming
- dfs
- 오류
- 시작해요 언리얼 2022
- python
Archives
- Today
- Total
목록4948 (1)
행복한 개구리
def IsPrime(n): seive = [True] * n for i in range(2, int((n ** 0.5) + 1)): if seive[i] == True: for j in range(i + i, n, i): seive[j] = False return [i for i in range(2, n) if seive[i] == True] listPrimeNumbers = IsPrime(123456 * 2) while True: M = int(input()) if M == 0: break result = [] for i in listPrimeNumbers: if M < i
Algorithm/BaekJoon
2021. 12. 9. 18:09