>>180
char STR_TORAH[] ="nazonomojiretu";
cahr STR_QUERY[] = "query";
int STR_TORAH_LEN = 304805;
int STR_QUERY_LEN = 5;
void main(){
int i=0;
int step=0;
int notmatch=0;
char *p=STR_TORAH;
while(p){
step=1;
while(step<STR_TORAH_LEN){
for(i=1; i<STR_QUERY_LEN; i++){
if(*(i*step+p)!=*(STR_QUERY+i)){
notmatch=1;break;
}
}
if(!notmatch){
/*マッチしたのを保存する*/
}
notmatch=0;
step++;
}
p=strchar(p, STR_QUERY[0]);

}
/*マッチしたのを表示する*/
}