# ============================================================
# Practice Problem 1: Count a Specific Digit
# ============================================================

# [Problem]
# Input one integer.
# Count how many times digit '3' appears.
# Print the count.

# [Input Example]
# 13353

# [Output Example]
# 3

# [Hint]
# - Convert number to string
# - Use a for loop
# - Count when digit == '3'

# Write your code below:



# ============================================================
# Practice Problem 2: Count All Digits (0~9) in One Number
# ============================================================

# [Problem]
# Input one integer.
# Count how many times each digit (0~9) appears.
# Print counts from 0 to 9 (one per line).

# [Input Example]
# 120303

# [Output Example]
# 2
# 1
# 0
# 2
# 0
# 0
# 0
# 0
# 0
# 0

# [Hint]
# - Make a list of size 10
# - Convert number to string
# - Increase count using index

# Write your code below:



# ============================================================
# Practice Problem 3: Multiply Two Numbers and Count Digits
# ============================================================

# [Problem]
# Input two integers A and B.
# Multiply them.
# Count how many times each digit (0~9) appears in the result.
# Print counts from 0 to 9.

# [Input Example]
# 12
# 13

# [Output Example]
# (12 × 13 = 156)
# 0
# 1
# 0
# 0
# 0
# 1
# 1
# 0
# 0
# 0

# [Hint]
# - Multiply numbers first
# - Convert result to string
# - Count digits

# Write your code below:



# ============================================================
# Practice Problem 4: Multiply Three Numbers and Count Digits
# ============================================================

# [Problem]
# Input three integers A, B, and C.
# Multiply them.
# Count how many times each digit (0~9) appears in the result.
# Print counts from 0 to 9.

# [Input Example]
# 150
# 266
# 427

# [Output Example]
# (150 × 266 × 427 = 17037300)
# 3
# 1
# 0
# 2
# 0
# 0
# 0
# 2
# 0
# 0

# [Hint]
# - This is very similar to BOJ 2577
# - Multiply three numbers
# - Count digits using a list of size 10

# Write your code below:

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: