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
- Unity
- String
- python
- 프로그래밍
- 백준
- 오류
- Tutorial
- 파이썬
- W3Schools
- UE5
- Unreal Engine 5
- c++
- w3school
- guide
- 기초
- 재귀
- loop
- Class
- 시작해요 언리얼 2022
- DP
- Programming
- Basic
- Algorithm
- dynamic
- 문제풀이
- github
- dfs
- C#
- parameter
- Material
Archives
- Today
- Total
목록9020 (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] primeNumbers = IsPrime(10000) T = int(input()) for _ in range(T): n = int(input()) for i in range(int(n/2), 1, -1): if primeNumbers.count(i) != 0: if primeNumbers.count(n - i) != 0: print(i, n - i) break ..
Algorithm/BaekJoon
2021. 12. 10. 18:16