interval.cpp:4:41: warning: left shift count >= width of type [-Wshift-count-overflow]
long long s,d[30],f,g,h,j,k,mod=1<<40ll-1,mar=1507;
^
interval.cpp:4:40: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
long long s,d[30],f,g,h,j,k,mod=1<<40ll-1,mar=1507;
~~~~^~
interval.cpp:8:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(){
^
interval.cpp: In function 'int main()':
interval.cpp:21:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<x.size();i++) x[i]-='a';
~^~~~~~~~~
interval.cpp:22:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<z.size();i++) {z[i]-='a';}
~^~~~~~~~~
interval.cpp:27:22: warning: array subscript has type 'char' [-Wchar-subscripts]
h+=d[x[a]];
^
interval.cpp:39:22: warning: array subscript has type 'char' [-Wchar-subscripts]
h+=d[z[a]];
^