Skip to content

Commit ace48d0

Browse files
committed
[Bronze V] Title: 사칙연산, Time: 40 ms, Memory: 32412 KB -BaekjoonHub
1 parent d72fef3 commit ace48d0

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# [Bronze V] 사칙연산 - 10869
2+
3+
[문제 링크](https://www.acmicpc.net/problem/10869)
4+
5+
### 성능 요약
6+
7+
메모리: 32412 KB, 시간: 40 ms
8+
9+
### 분류
10+
11+
구현, 사칙연산, 수학
12+
13+
### 제출 일자
14+
15+
2025년 10월 5일 16:57:27
16+
17+
### 문제 설명
18+
19+
<p>두 자연수 A와 B가 주어진다. 이때, A+B, A-B, A*B, A/B(몫), A%B(나머지)를 출력하는 프로그램을 작성하시오. </p>
20+
21+
### 입력
22+
23+
<p>두 자연수 A와 B가 주어진다. (1 ≤ A, B ≤ 10,000)</p>
24+
25+
### 출력
26+
27+
<p>첫째 줄에 A+B, 둘째 줄에 A-B, 셋째 줄에 A*B, 넷째 줄에 A/B, 다섯째 줄에 A%B를 출력한다.</p>
28+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
a, b = input().split()
2+
a = int(a)
3+
b = int(b)
4+
print(a+b)
5+
print(a-b)
6+
print(a*b)
7+
print(int(a/b))
8+
print(a%b)

0 commit comments

Comments
 (0)