일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- ros2 튜토리얼
- humble development guides
- ros2 foxy docker
- Python
- foxy nav2
- nav2 설치
- CODEUP 6073
- Foxy tutorial
- ROS FOXY 튜토리얼
- ros2 튜토리얼 환경설정
- nav2 first-time robot setup guide
- Nav2 document
- nav2 튜토리얼
- nav2 development guides
- ros2 환경설정
- ros2 foxy tutorial
- ros2 configuring environment
- docker foxy
- ros2 development guides
- nav2 development guides
- nav2 getting started
- humble 환경설정
- CodeUp
- ros2 remapping
- development guides
- error
- nav2 dev contatiner
- nav2 tutorial
- first-time robot setup guide
- 코드업
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