hdu 1423 Greatest Common Increasing Subsequence_LICS(最长公共递增子序列)
#include
#include
usingnamespacestd;
intdp[1005][1005];
inta[100010],b[100010];
intmain()
{
intt,i,j,m,n;
cin>>t;
while(t--)
{
memset(a,0,sizeof(a));
memset(b,0,sizeof(b));
memset(dp,0,sizeof(dp));
ci