250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- YOLOv5
- 코딩테스트 연습
- List Comprehension
- 설계
- 파이썬 몫
- css
- html
- Django
- 파이썬 슬라이싱
- 파이썬
- pcce 기출문제
- 백준
- GIT
- date_format
- Join
- Len
- 단어 공부
- SQL 고득점 Kit
- where
- map
- 프로젝트
- python
- Python3
- sql
- 프로그래머스
- 데이터
- count
- 아이엠어바텐더
- ORDER BY
- 슬라이싱
Archives
- Today
- Total
목록11022 (1)
nan + nan = 2nan

코드 입력 T = int(input()) for i in range(1, T + 1): A, B = map(int, input().split()) print('Case #%s: %s + %s = %s' % (i, A, B, A+B)) 11021번과 비슷한 포맷을 가져간다. 식 구성이 추가되었으니, 추가된 만큼 해당 변수에 %s를 추가해주면 간단s. 출처 : 백준 Online Judge https://www.acmicpc.net/problem/11022 11022번: A+B - 8 각 테스트 케이스마다 "Case #x: A + B = C" 형식으로 출력한다. x는 테스트 케이스 번호이고 1부터 시작하며, C는 A+B이다. www.acmicpc.net
Python/백준 알고리즘
2021. 8. 3. 21:20