Algorithm/백준

[백준(BOJ) / python] 2577 - 숫자의 개수

Jonnie 2021. 8. 15. 04:35
A = int(input())
B = int(input())
C = int(input())
multi = str(A * B * C)
for i in range(0, 10):
    print(list(multi).count(str(i)))

 

https://www.acmicpc.net/problem/2577

 

2577번: 숫자의 개수

첫째 줄에 A, 둘째 줄에 B, 셋째 줄에 C가 주어진다. A, B, C는 모두 100보다 크거나 같고, 1,000보다 작은 자연수이다.

www.acmicpc.net