일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- CodeUp
- ros2 param dump
- Nav2 document
- Foxy tutorial
- ros2 foxy understanding parameters
- ROS FOXY 튜토리얼
- nav2 behavior trees
- error
- CODEUP 6073
- ros2 foxy docker
- docker foxy
- ROS2 Humble 설치
- ros2 humble install
- ros2 foxy tutorial
- ros2 param set
- 22.04 ros2 설치
- ros2 param list
- ros2 foxy parameters
- ubuntu ros2 설치
- ubuntu humble 설치
- Python
- nav2 행동트리
- ros2 param load
- foxy nav2
- 코드업
- ros2 remapping
- nav2 doc behavior trees
- ros2 param get
- ros2 튜토리얼
- ros2 foxy 튜토리얼
Archives
- Today
- Total
BAN2ARU
CodeUp 6095번 본문
https://codeup.kr/problem.php?id=6095
답안 (1)
a = [[0 for _ in range(19)] for _ in range(19)]
n = int(input())
for _ in range(n) :
x, y = map(int, input().split())
a[x-1][y-1] = 1
for i in range(19) :
for j in range(19) :
print(a[i][j], end=' ')
print()
답안 (2)
d = []
for i in range(20) :
d.append([])
for j in range(20) :
d[i].append(0)
n = int(input())
for i in range(n):
x,y = input().split()
d[int(x)][int(y)] =1
for i in range(1,20):
for j in range(1,20):
print(d[i][j], end=' ')
print()
728x90
'Coding Test > CodeUp' 카테고리의 다른 글
CodeUp 6094번 (0) | 2022.03.31 |
---|---|
CodeUp 6093번 (0) | 2022.03.31 |
CodeUp 6091번 (0) | 2022.03.09 |
CodeUp 6090번 (0) | 2022.03.09 |
CodeUp 6089번 (0) | 2022.03.09 |
Comments