stringer
Practice
5 (1 votes)
Very Easy
Problem
82% Success 1105 Attempts 10 Points 10s Time Limit 256MB Memory 1024 KB Max Code

Papag has a given a string and he is not able to solve the problem given by his child so help papag in solving the problem.
find the frequency of digits (0-9) in a string and print the frequency in a single line separated by space.

Input:
2
1214545
54658455454

Output:
0 2 1 0 2 2 0 0 0 0
0 0 0 0 4 5 1 0 1 0

Problem Setter : Avinash Gurjar

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading...
Results
Custom Input
Run your code to see the output
Submissions
Please login to view your submissions
Similar Problems
Points:10
3 votes
Tags:
Very-Easy
Points:10
1 votes
Tags:
Very-Easy
Points:10
3 votes
Tags:
Very-Easy