随笔分类 -  暴力/状态压缩/二进制枚举

摘要:You have a garland consisting of nn lamps. Each lamp is colored red, green or blue. The color of the ii-th lamp is sisi ('R', 'G' and 'B' — colors of 阅读全文
posted @ 2019-01-24 12:29 茄子Min 阅读(518) 评论(0) 推荐(0)
摘要:You have a garland consisting of nn lamps. Each lamp is colored red, green or blue. The color of the ii-th lamp is sisi ('R', 'G' and 'B' — colors of 阅读全文
posted @ 2019-01-24 12:25 茄子Min 阅读(677) 评论(0) 推荐(0)
摘要:Recently you have received two positive integer numbers xx and yy. You forgot them, but you remembered a shuffled list containing all divisors of xx ( 阅读全文
posted @ 2019-01-24 12:20 茄子Min 阅读(708) 评论(0) 推荐(0)