摘要: 【网络流】One Way Roads 题目描述 In the country of Via, the cities are connected by roads that can be used in both directions. However, this has been the cause 阅读全文
posted @ 2018-10-06 23:58 house_cat 阅读(241) 评论(0) 推荐(0)
摘要: 【二进制枚举+LCS】Card Hand Sorting 题目描述 When dealt cards in the card game Plump it is a good idea to start by sorting the cards in hand by suit and rank. Th 阅读全文
posted @ 2018-10-06 23:48 house_cat 阅读(359) 评论(0) 推荐(0)
摘要: Exponial 题目 http://exam.upc.edu.cn/problem.php?cid=1512&pid=4 欧拉降幂定理:当b phi(p)时,有a^b%p = a^(b%phi(p)+phi(p))%p 这题做的难受....看到题目我就猜到肯定用到欧拉降幂,然后就毫无目的地找规律。 阅读全文
posted @ 2018-10-06 23:41 house_cat 阅读(270) 评论(0) 推荐(0)