摘要: 11542 SquareGiven n integers you can generate 2n􀀀1 non-empty subsets from them. Determine for how many of thesesubsets the product of all the integer 阅读全文
posted @ 2016-09-01 22:57 Yan_Bin 阅读(236) 评论(0) 推荐(0)
摘要: 10828 Back to Kernighan-RitchieYou must have heard the name of Kernighan and Ritchie, the authors ofThe C Programming Language. While coding in C, we 阅读全文
posted @ 2016-09-01 18:01 Yan_Bin 阅读(381) 评论(0) 推荐(0)
摘要: 1386 Cellular AutomatonA cellular automaton is a collection of cells on a grid of speci ed shape that evolves through a numberof discrete time steps a 阅读全文
posted @ 2016-09-01 01:00 Yan_Bin 阅读(157) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #define ll long long 4 const int maxn = 505; 5 ll n,m,d,k,a[maxn]; 6 struct mat{ // 结构体循环矩阵,原矩阵式方阵 7 ll v[maxn]; 8 mat() {memset(v,0,sizeof(v));} // 构造函数 9 ... 阅读全文
posted @ 2016-09-01 00:48 Yan_Bin 阅读(328) 评论(0) 推荐(0)