摘要:
Buy Lower, Buy Lower (buylow)最长下降子序列,在计算方案数的时候用到大整数加法。/*ID:###PROG:buylowLANG:C++*/#include #include #include using namespace std;int a[5011],f[5011];typedef int arr[500];arr num[5010];int b[5011];bool u[5011];int n;void init(){ int i,j,k; freopen("buylow.in","r",stdin); freopen( 阅读全文