a = int(input())
b = int(input())
 
print(a * (b % 10), a * ((b//10)%10), a * (b//100), a * b)

원게시물 : https://kimbumyun.tistory.com/295

'Development > BAEKJOON' 카테고리의 다른 글

[백준] 10430 - 나머지  (0) 2020.04.05
[백준] 10869 - 사칙연산  (0) 2020.04.05
[백준] 1008 - A/B  (0) 2020.04.05
[백준] 10998 - A*B  (0) 2020.04.05
[백준] 1001 - A-B  (0) 2020.04.05

a, b, c = input().split()
 
print((int(a) + int(b)) % int(c))
print(((int(a) % int(c)) + (int(b) % int(c))) % int(c))
print((int(a) * int(b)) % int(c))
print(((int(a) % int(c)) * (int(b) % int(c))) % int(c))

원게시물 : https://kimbumyun.tistory.com/294

'Development > BAEKJOON' 카테고리의 다른 글

[백준] 2588 - 곱셈  (0) 2020.04.05
[백준] 10869 - 사칙연산  (0) 2020.04.05
[백준] 1008 - A/B  (0) 2020.04.05
[백준] 10998 - A*B  (0) 2020.04.05
[백준] 1001 - A-B  (0) 2020.04.05

a, b = input().split()
 
print(int(a) + int(b))
print(int(a) - int(b))
print(int(a) * int(b))
print(int(int(a) / int(b)))
print(int(a) % int(b))

원게시물 : https://kimbumyun.tistory.com/293

'Development > BAEKJOON' 카테고리의 다른 글

[백준] 2588 - 곱셈  (0) 2020.04.05
[백준] 10430 - 나머지  (0) 2020.04.05
[백준] 1008 - A/B  (0) 2020.04.05
[백준] 10998 - A*B  (0) 2020.04.05
[백준] 1001 - A-B  (0) 2020.04.05

a,b = input().split()
 
print(int(a) / int(b))

원게시물 : https://kimbumyun.tistory.com/287

'Development > BAEKJOON' 카테고리의 다른 글

[백준] 10430 - 나머지  (0) 2020.04.05
[백준] 10869 - 사칙연산  (0) 2020.04.05
[백준] 10998 - A*B  (0) 2020.04.05
[백준] 1001 - A-B  (0) 2020.04.05
[백준] 1000 - A+B  (0) 2020.04.05

+ Recent posts