일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 튜토리얼
- humble nav2
- humble docker
- nav2 development guides
- nav2 development guides
- ros2 foxy tutorial
- ROS FOXY 튜토리얼
- humble getting started
- humble development guides
- docker foxy
- nav2 getting started
- CODEUP 6073
- ubuntu ros2 설치
- ros2 remapping
- ros2 development guides
- ubuntu humble 설치
- humble 도커
- Nav2 document
- nav2 설치
- ros2 getting started
- Python
- 코드업
- nav2 dev contatiner
- CodeUp
- development guides
- Foxy tutorial
- nav2 튜토리얼
- foxy nav2
- ros2 foxy docker
- error
Archives
- Today
- Total
목록백준 Python 15552 (1)
BAN2ARU
[백준/Python] 15552번 : 빠른 A+B
https://www.acmicpc.net/problem/15552 15552번: 빠른 A+B 첫 줄에 테스트케이스의 개수 T가 주어진다. T는 최대 1,000,000이다. 다음 T줄에는 각각 두 정수 A와 B가 주어진다. A와 B는 1 이상, 1,000 이하이다. www.acmicpc.net 풀이 import sys T = int(input()) for i in range(T) : print(sum(map(int, sys.stdin.readline().split()))) import sys -> sys.stdin.readline()을 활용하여 기존의 input()보다 처리속도를 빠르게 하였음. 이전의 문제풀이에서도 활용한 sum() 함수를 활용하였으며, sum()함수에 대한 내용은 아래 링크글을 참조하..
Coding Test/BaekJoon
2022. 5. 2. 00:35