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