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
- Digital Forensics
- Web
- Text
- php
- 인코그니토
- misc
- Database
- Network
- 구현
- 그리디 알고리즘
- 정렬
- CTF
- wargame
- SuNiNaTas
- Incognito
- 써니나타스
- 수학
- MySQL
- writeup
- 사칙연산
- xcz.kr
- Python
- Web Hacking
- 문자열
- N0Named
- Forensics
- 백준
- HackCTF
- cryptography
- C
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