摘要:
矩阵快速幂。 邻接矩阵的$P$次方就是走$P$步之后的方案数,这里只记录能否走到就可以了。然后再判断一下三种情况即可。 阅读全文
posted @ 2017-02-09 22:35
Fighting_Heart
阅读(246)
评论(0)
推荐(0)
摘要:
计算几何,暴力。 题目中有一句话:$The$ $mass$ $of$ $each$ $brick$ $is$ $equally$ $distributed$ $and$ $it$ $will$ $be$ $stable$ $if$ $it$ $is$ $placed$ $on$ $bases$ $o 阅读全文
posted @ 2017-02-09 22:32
Fighting_Heart
阅读(296)
评论(0)
推荐(0)

浙公网安备 33010602011771号