#include<bits/stdc++.h>
using namespace std;
long long a[1000],b[1000],i;
int main(){
for(i=0;;i++){
cin>>a[i]>>b[i];
if(a[i]==0&&b[i]==0)
break;
}
for(int j=0;j<i;j++){
int tong[10]={0};
for(int k=a[j];k<=b[j];k++){
int t=k;
while(t!=0){
tong[t%10]++;
t/=10;
}
}
for(int g=1;g<10;g++){
cout<<tong[g]<<" ";
}
}
return 0;
}
看起来没错啊,为什么会这样