/in/foo.cc: In function 'int main()':
/in/foo.cc:56:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<NextSta[0].size();i++) dp[0][i][0]=NextNum[0][i];
~^~~~~~~~~~~~~~~~~~
/in/foo.cc:57:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<NextSta[1].size();i++) for(int j=0;j<NextSta[0].size();j++)
~^~~~~~~~~~~~~~~~~~
/in/foo.cc:57:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<NextSta[1].size();i++) for(int j=0;j<NextSta[0].size();j++)
~^~~~~~~~~~~~~~~~~~
/in/foo.cc:64:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<NextSta[row].size(); i++)
~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:65:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<NextSta[row-1].size(); j++)
~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:68:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0; k<NextSta[row-2].size(); k++)
~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:76:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(n<=1) for(int i=0;i<NextNum[0].size();i++) ans=max( ans , dp[0][i][0]);
~^~~~~~~~~~~~~~~~~~
/in/foo.cc:77:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else for(int i=0;i<NextSta[n-1].size();i++) for(int j=0;j<NextSta[n-2].size();j++)
~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:77:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else for(int i=0;i<NextSta[n-1].size();i++) for(int j=0;j<NextSta[n-2].size();j++)
~^~~~~~~~~~~~~~~~~~~~