默认输入一行 include<stdio.h>#include<string.h>int main(){int i,a[1000],j,length;char b[2000];gets(b);for(i=0,j=0;i<strlen(b);i++){if(b[i]=='0') a[j++]=0;if(b[i]=='1') a[j++]=1;if(b[i]=='2') a[j++]=2;if(b[i]=='3') a[j++]=3;if...