2016年9月20日

摘要: n^3logn非常显然。所以要用一种因为这个矩阵是一个循环矩阵,所以只要知道第一行就可以知道所有行了。 C[i][j]=C[i-1][j-1]; 1 #include <iostream> 2 #include <cstring> 3 #include <cstdio> 4 #include <al 阅读全文

posted @ 2016-09-20 18:49 yyjxx2010xyu 阅读(135) 评论(0) 推荐(0) 编辑

摘要: 显然序列不能超过sqrt(n),因为最差情况是每个都独立答案为n 1 #include <iostream> 2 #include <cstring> 3 #include <cstdio> 4 #include <algorithm> 5 #include <cmath> 6 using name 阅读全文

posted @ 2016-09-20 00:09 yyjxx2010xyu 阅读(103) 评论(0) 推荐(0) 编辑