路漫漫其修远兮,吾将上下而求索——屈原|

tsrigo

园龄:3年7个月粉丝:15关注:10

随笔分类 -  Atcoder

AtCoder Beginner Contest 254 - E - Small d and k 题解
摘要:有个显著特点,每个点的度数不超过3,我们要考虑的点到 xi 的距离不超过3。 于是乎对于每个 xi,需要计算的点的个数不超过1+3+32+33=40个 所以我们可以放心大胆地对每个点进行BFSDFS
87
0
0
AtCoder Beginner Contest 254 - D - Together Square 题解解释
摘要:本文对官方题解进行了个人的翻译,并对其进行了一定的解释、证明。
217
4
3
AtCoder Regular Contest 141 - B - Increasing Prefix XOR
摘要:原文 Consider the problem in binary. If positive integers a and b have the same number of digits, the only case when both a<c and \(b < b\op
72
0
0
D - Distinct Trio - AtCoder Beginner Contest 252
摘要:巧妙之处: 1. 对题目的转换 2. 预处理特殊数组
71
0
0
点击右上角即可分享
微信分享提示
深色
回顶
收起