#include <stdio.h>
int main() {
int a,b,c;
int r;
int num_list[10]={0};
scanf("%d %d %d",&a ,&b ,&c);
int num=a*b*c;
while (num!=0) {
r=num%10;
num=num/10;
num_list[r]+=1;
}
for (int i=0; i<10; i++) {
printf("%d\n",num_list[i]);
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: