/in/foo.cc: In function 'int z(int, int)':
/in/foo.cc:15:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<strlen(s[num]);i++)
~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:38:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[20]' [-Wformat=]
scanf("%s",&t);
^
/in/foo.cc:40:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[20]' [-Wformat=]
scanf("%s",&t);
^
/in/foo.cc:54:17: warning: self-comparison always evaluates to true [-Wtautological-compare]
if (h&ch[j].a>=ch[j].a&&dp[h][i][1]&ch[j].b==0)
~~~~~~~^~~~~~~~~
/in/foo.cc:54:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
/in/foo.cc:54:47: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if (h&ch[j].a>=ch[j].a&&dp[h][i][1]&ch[j].b==0)
~~~~~~~^~~
/in/foo.cc:63:18: warning: 'R1' may be used uninitialized in this function [-Wmaybe-uninitialized]
now=dp[R1][i][1];dp[dp[R1][i][1]][i+1][0]=R;
~~~~~~~~~~~^