foo.cc:10:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(disable:4996)
foo.cc: In function 'int main()':
foo.cc:23:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < s.length(); j++)
~~^~~~~~~~~~~~
foo.cc:36:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = j; k < s.length(); k++)
~~^~~~~~~~~~~~
foo.cc:51:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k == s.length()-1)
~~^~~~~~~~~~~~~~~
foo.cc:115:7: warning: unused variable 'u' [-Wunused-variable]
int u = 1;
^
[Hydro](https://hydro.ac)提供评测服务