일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- ros2 param set
- CODEUP 6073
- ros2 param list
- 22.04 ros2 설치
- error
- nav2 행동트리
- 코드업
- docker foxy
- ros2 foxy 튜토리얼
- ros2 foxy docker
- Foxy tutorial
- ubuntu humble 설치
- ROS FOXY 튜토리얼
- ROS2 Humble 설치
- ubuntu ros2 설치
- ros2 humble install
- Python
- ros2 foxy parameters
- ros2 param dump
- Nav2 document
- ros2 param get
- ros2 foxy understanding parameters
- foxy nav2
- ros2 튜토리얼
- nav2 behavior trees
- CodeUp
- ros2 foxy tutorial
- nav2 doc behavior trees
- ros2 remapping
- ros2 param load
Archives
- Today
- Total
BAN2ARU
CodeUp 6091번 본문
https://codeup.kr/problem.php?id=6091
(1)번 풀이 - 최소공배수 구하기
a, b, c = map(int, input().split())
for i in range(max(a,b,c), (a*b*c)+1):
if i%a==0 and i%b ==0 and i%c ==0 :
print(i)
break
(2)번 풀이 - 문제 참조
a, b, c = map(int, input().split())
d = 1
while d%a!=0 or d%b!=0 or d%c!=0 :
d += 1
print(d)
728x90
'Coding Test > CodeUp' 카테고리의 다른 글
CodeUp 6094번 (0) | 2022.03.31 |
---|---|
CodeUp 6093번 (0) | 2022.03.31 |
CodeUp 6090번 (0) | 2022.03.09 |
CodeUp 6089번 (0) | 2022.03.09 |
CodeUp 6088번 (0) | 2022.03.09 |
Comments