HDU 4832 Chess(DP+组合数)
摘要:行列的走法不互相影响,可以分开计算,最后再组合相乘累加即可 1 #include 2 #include 3 int c[1010][1010]; 4 int dpx[1010][1010],x[1010]; 5 int dpy[1010][1010],y[1010]; 6 int n,m,k,x0,...
        阅读全文
				
		posted @ 2014-05-27 11:10
		
		posted @ 2014-05-27 11:10
		
		posted @ 2014-05-25 12:06