interval.cpp: In function 'bool pro(int)':
interval.cpp:20:72: warning: array subscript has type 'char' [-Wchar-subscripts]
for(int i=0;i<x;i++)for(int b=0;b<2;b++) H[b]=(H[b]+pow1500[b][A[i]])%mod[b];
^
interval.cpp:24:41: warning: array subscript has type 'char' [-Wchar-subscripts]
H[b]=(((H[b]+pow1500[b][A[i]])%mod[b]-pow1500[b][A[i-x]])%mod[b]+mod[b])%mod[b];
^
interval.cpp:24:68: warning: array subscript has type 'char' [-Wchar-subscripts]
H[b]=(((H[b]+pow1500[b][A[i]])%mod[b]-pow1500[b][A[i-x]])%mod[b]+mod[b])%mod[b];
^
interval.cpp:28:73: warning: array subscript has type 'char' [-Wchar-subscripts]
for(int i=0;i<x;i++) for(int b=0;b<2;b++) H[b]=(H[b]+pow1500[b][B[i]])%mod[b];
^
interval.cpp:32:41: warning: array subscript has type 'char' [-Wchar-subscripts]
H[b]=(((H[b]+pow1500[b][B[i]])%mod[b]-pow1500[b][B[i-x]])%mod[b]+mod[b])%mod[b];
^
interval.cpp:32:68: warning: array subscript has type 'char' [-Wchar-subscripts]
H[b]=(((H[b]+pow1500[b][B[i]])%mod[b]-pow1500[b][B[i-x]])%mod[b]+mod[b])%mod[b];
^
interval.cpp: In function 'void init()':
interval.cpp:12:24: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(A,1502,stdin); N=strlen(A); A[--N]=0;
^
interval.cpp:13:24: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(B,1502,stdin); M=strlen(B); B[--M]=0;
^