728x90
문제 링크: https://www.acmicpc.net/problem/1000
1000번: A+B
두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오.
www.acmicpc.net
문제 풀이
A와 B를 입력받아 A+B를 출력하면 된다.
코드
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a, b = map(int, input().split(" ")) | |
print(a+b) |
728x90
'BOJ' 카테고리의 다른 글
[BOJ][Python] 백준 10718번 - We love Kriii (0) | 2022.05.03 |
---|---|
[BOJ][Python] 백준 1001번 - A-B (0) | 2022.05.03 |
[BOJ][Python] 백준 2559번 - 수열 (0) | 2022.05.02 |
[BOJ][Python] 백준 17265번 - 나의 인생에는 수학과 함께 (0) | 2022.05.01 |
[BOJ][Python] 백준 8711번 - Odchudzanie (0) | 2022.05.01 |