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 |
Tags
- SuNiNaTas
- 수학
- N0Named
- C
- 그리디 알고리즘
- misc
- wargame
- writeup
- Web
- Forensics
- Python
- Web Hacking
- php
- CTF
- 사칙연산
- 정렬
- 백준
- 인코그니토
- Network
- Digital Forensics
- Text
- Incognito
- Database
- HackCTF
- MySQL
- 구현
- 문자열
- cryptography
- 써니나타스
- xcz.kr
Archives
- Today
- Total
보안을 그리다, 훈이
[Baekjoon/Python3] 10953번 A + B - 6 본문
[Baekjoon/Python3] 10953번 A + B - 6
10953번: A+B - 6
두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오.
www.acmicpc.net
import sys
t = int(sys.stdin.readline())
for i in range(t):
a, b = map(int, sys.stdin.readline().split(',')) # split(sep = ',', maxsplit = 1)
sys.stdout.write(str(a + b) + '\n') # sys.stdout.write(!!!str!!!'\n'!!!)'Programming > Python & Data Structures' 카테고리의 다른 글
| [Baekjoon/Python3] 10987번 모음의 개수 (0) | 2020.12.06 |
|---|---|
| [Baekjoon/Python3] 10984번 내 학점을 구해줘 (0) | 2020.12.06 |
| [Baekjoon/Python3] 10952번 A + B - 5 (0) | 2020.12.06 |
| [Baekjoon/Python3] 10951번 A + B - 4 (0) | 2020.12.06 |
| [Baekjoon/Python3] 10950번 A + B - 3 (0) | 2020.12.06 |
Comments