일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- setting up transformations
- nav2 설치
- ros2 튜토리얼
- ros2 development guides
- humble development guides
- nav2 getting started
- ros2 환경설정
- docker foxy
- foxy nav2
- Python
- first-time robot setup guide
- ros2 configuring environment
- Foxy tutorial
- ros2 transformations 개념
- CODEUP 6073
- ros2 foxy tutorial
- ros2 remapping
- CodeUp
- Nav2 document
- nav2 development guides
- ros2 튜토리얼 환경설정
- error
- humble 환경설정
- nav2 tutorial
- nav2 튜토리얼
- nav2 dev contatiner
- 코드업
- nav2 first-time robot setup guide
- ros2 foxy docker
- ROS FOXY 튜토리얼
Archives
- Today
- Total
BAN2ARU
[백준/Python] 3003번 : 킹, 퀸, 룩, 비숍, 나이트, 폰 본문
반응형
https://www.acmicpc.net/problem/3003
3003번: 킹, 퀸, 룩, 비숍, 나이트, 폰
첫째 줄에 동혁이가 찾은 흰색 킹, 퀸, 룩, 비숍, 나이트, 폰의 개수가 주어진다. 이 값은 0보다 크거나 같고 10보다 작거나 같은 정수이다.
www.acmicpc.net
풀이
import sys
a = list(map(int, sys.stdin.readline().split()))
x = [1, 1, 2, 2, 2, 8]
for i in range(6):
print((x[i] - a[i]), end=' ')
728x90
'Coding Test > BaekJoon' 카테고리의 다른 글
[백준/Python] 10952번 : A+B - 5 (0) | 2022.09.14 |
---|---|
[백준/Python] 10871번: X보다 작은 수 (0) | 2022.08.17 |
[백준/Python] 2438번 : 별찍기 (0) | 2022.05.02 |
[백준/Python] 15552번 : 빠른 A+B (0) | 2022.05.02 |
[백준/Python] 8393번 합 (부제 : Python sum()함수) (0) | 2022.05.01 |
Comments