foo.cc:9:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(disable : 4996)
foo.cc: In function 'int main()':
foo.cc:18:20: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
memset(a, 0, 10009);
^
foo.cc:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i <= s.length(); i++)
~~^~~~~~~~~~~~~
foo.cc:27:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 1; j < ss.length(); j++)
~~^~~~~~~~~~~~~
foo.cc:29:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j == ss.length()-1)
~~^~~~~~~~~~~~~~~~
foo.cc:33:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 1; k < ss.length(); k++)
~~^~~~~~~~~~~~~
foo.cc:46:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (nn < s.length())
~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务