반응형
https://www.acmicpc.net/problem/10430
# @Author YoungMinKim
# baekjoon
a,b,c = map(int,input().split())
print((a+b)%c)
print(((a%c) + (b%c))%c)
print((a*b)%c)
print(((a%c) * (b%c))%c)
반응형
'백준 문제풀이' 카테고리의 다른 글
baekjoon - python - 10699 (0) | 2020.09.02 |
---|---|
baekjoon - python - 10569 (0) | 2020.09.02 |
baekjoon - python - 10172 (0) | 2020.09.02 |
baekjoon - python - 10171 (0) | 2020.09.02 |
baekjoon - python - 4948 (0) | 2020.09.02 |
댓글