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
- 3d editting
- 코테
- insturctnerf2nerf
- posterior distillation sampling
- visiontransformer
- magic clothing
- DP
- dreamgaussian
- 논문리뷰
- 3d generation
- sound-to-image generation
- dreamfusion
- novel view synthesis
- 코딩테스트
- VirtualTryON
- 3d gaussian splatting
- Python
- Vit
- instructany2pix
- transformer
- text-to-video diffusion
- Programmers
- diffusion
- 3d editing
- objectdrop
- 프로그래머스
- 네이버 부스트캠프 ai tech 6기
- text2room
- sonicdiffusion
- BOJ
Archives
- Today
- Total
목록BOJ #21919 #python #소수최소공배수 #코테 (1)
평범한 필기장
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/rgIm4/btr36RelI00/IdIhTYddfBHhnHYN7sVigk/img.png)
https://www.acmicpc.net/problem/21919 21919번: 소수 최소 공배수 수열 중에 소수는 2, 3, 5가 있다. www.acmicpc.net import sys n = int(input()) lst = list(map(int, sys.stdin.readline().split())) def od(a): if a == 1: return 0 else: for i in range(2, a): if a % i == 0: return 0 return 1 ans_lst = [] for k in lst: if od(k) == 1: ans_lst.append(k) if len(ans_lst) == 0: print(-1) else: cnt = 1 for k in ans_lst: cnt *= k..
코딩 테스트 준비/BOJ
2023. 3. 16. 12:35