Problem : Judge Status : AcceptedRunId : 5940488 Language : C Author : Code Render Status : Rendered By HDOJ C Code Render Version 0.01 Beta
1 #include2 #include 3 char f[6],c[81]; 4 int main() 5 { 6 int l1,i,j,sum; 7 while (gets(f)&&strcmp(f,"#")!=0) 8 { 9 gets(c);10 l1=strlen(c);11 j=0;12 while (f[j]!='\0')13 {14 sum=0;15 for (i=0;i