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
- 5355
- 2914
- 2558
- datetime
- 5063
- MAX
- combinations
- BaekjoonOnlineJudge
- 9610
- 5717
- 약수
- 2530
- 파이썬
- 11557
- Python
- Python3
- 10162
- 암호
- 2163
- kriii
- math
- 10214
- itertools
- 4101
- 백준
- 2935
- 10886
- 소수
- Baekjoon
- 2061
Archives
- Today
- Total
new!dea
#10430 나머지 (Python3) 본문
10430번: 나머지
첫째 줄에 A, B, C가 순서대로 주어진다. (2 ≤ A, B, C ≤ 10000)
www.acmicpc.net
#10430 나머지 (Python3)
1
2
3
4
5
6
7
|
a, b, c = map(int, input().split())
d = (a+b)%c
e = (a*b)%c
print(d)
print(d)
print(e)
print(e)
|
cs |
'Baekjoon Online Judge' 카테고리의 다른 글
#2588 곱셈 (Python3) (0) | 2021.05.02 |
---|---|
#2558 A+B - 2 (Python3) (0) | 2021.05.02 |
#10869 사칙연산 (Python3) (0) | 2021.05.02 |
#2557 Hello World (Python3) (0) | 2021.05.02 |
#1008 A/B (Python3) (0) | 2021.05.02 |
Comments