摘要: For non negative integers $m$ and $n$ and a prime $p$, the following congruence relation holds: $$\binom{m}{n} \equiv \prod_{i=0}^{k} \binom {m_i}{n_i 阅读全文
posted @ 2018-07-26 15:22 Pat 阅读(156) 评论(0) 推荐(0) 编辑
摘要: "题目" Analysis 曼哈顿距离($L1$ metric)最小生成树。 Implementation 下面的代码参考了 "gispzjz" 在比赛中的 "提交" 。 c++ include using namespace std; define pb push_back define eb e 阅读全文
posted @ 2018-07-26 00:08 Pat 阅读(315) 评论(0) 推荐(0) 编辑