match.cpp: In function 'void solve(int, int)':
match.cpp:32:22: warning: array subscript has type 'char' [-Wchar-subscripts]
else i = go[s[st]][dr];
^
match.cpp:25:13: warning: unused variable 'small' [-Wunused-variable]
int i , small;
^~~~~
match.cpp: In function 'int main()':
match.cpp:64:25: warning: array subscript has type 'char' [-Wchar-subscripts]
else x = go[s[i]][i-1] - 1;
^
match.cpp:44:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s+1 , 100010 , fin);
~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/7/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:46,
from match.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at match.cpp:44:11:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^