/in/foo.cc: In function 'int main()':
/in/foo.cc:42:35: error: 'memset' was not declared in this scope
memset(dp[i%2],0,sizeof(dp[i%2]));
^
/in/foo.cc:62:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t-kk>kk)kk=t-kk;
~~~~^~~
/in/foo.cc:63:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=t-kk;i++)b[i]=1;
~^~~~~~
/in/foo.cc:64:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ull i=t;i>kk;i--)
~^~~
/in/foo.cc:67:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=1;j<=t-kk;j++)
~^~~~~~
/in/foo.cc:76:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=1;j<=t-kk;j++)
~^~~~~~