曖殇

博客园 首页 联系 订阅 管理

2019年8月5日

摘要: 前提: 足够聪明,所以,条件注定了胜败。 博弈: 1.巴什博弈(Bash Game) 一堆石头两个人取,最多取m最少取1,取光者胜。 2.威佐夫博奕(Wythoff Game) 两堆石头轮流取,从一堆中取k个或者同时取k个,取光者胜。 3.尼姆博弈论(Nimm Game) n堆石头 n堆石头,每次取 阅读全文
posted @ 2019-08-05 13:15 曖殇 阅读(143) 评论(0) 推荐(0) 编辑

2018年12月8日

摘要: Christmas Time limit : 2sec / Memory limit : 1024MB Score : 400 points Problem Statement In some other world, today is Christmas. Mr. Takaha decides t 阅读全文
posted @ 2018-12-08 21:54 曖殇 阅读(131) 评论(0) 推荐(0) 编辑

摘要: 链接:https://ac.nowcoder.com/acm/contest/308/B来源:牛客网 题目描述 tokitsukaze最近沉迷一款RPG。 这个RPG一天有k分钟,每一天从第1分钟开始。 有n种怪物,第i种怪物每天第一次出现的时间为Xi分钟,第二次出现的时间为2*Xi分钟,第三次出现 阅读全文
posted @ 2018-12-08 18:28 曖殇 阅读(125) 评论(0) 推荐(0) 编辑

摘要: Look-and-say sequence is a sequence of integers as the following: where D is in [0, 9] except 1. The (n+1)st number is a kind of description of the nt 阅读全文
posted @ 2018-12-08 17:53 曖殇 阅读(158) 评论(0) 推荐(0) 编辑

2018年12月7日

摘要: 你就这样静坐在草地上,离我稍远的地方。我用眼角瞅着你,你什么话也别说。语言是误会的根源。但是,每天,你可以坐得离我近一些…… 你和她一起仰头仰望着布满星辰的天空。你的星星对她而言只不过是众星中的一颗。 她会喜欢仰望天际所有的繁星,他们都会是她的朋友。但你深信你不会是万众中一颗毫不起眼的星星。 于是你 阅读全文
posted @ 2018-12-07 22:04 曖殇 阅读(250) 评论(0) 推荐(0) 编辑

摘要: 链接:https://ac.nowcoder.com/acm/contest/283/D来源:牛客网 题目描述 小西买了一堆肥宅快乐水和肥宅快乐茶,准备和室友比谁更肥宅。 快乐水有A瓶,快乐茶B瓶。 小西和室友的规则是这样的: 1. 小西先手,轮流到每个人的回合,每个回合只能喝剩余数量较多的饮料 2 阅读全文
posted @ 2018-12-07 20:05 曖殇 阅读(168) 评论(0) 推荐(0) 编辑

摘要: 链接:https://ac.nowcoder.com/acm/contest/283/G来源:牛客网 小姐姐想要配 n 把钥匙,她走过开锁铺问老板价钱,老板是这么说的: 小姐姐想知道完成配n把钥匙的任务最少需要花费多少钱 小姐姐想要配 n 把钥匙,她走过开锁铺问老板价钱,老板是这么说的: 小姐姐想知 阅读全文
posted @ 2018-12-07 18:21 曖殇 阅读(132) 评论(0) 推荐(0) 编辑

2018年11月30日

摘要: C. Make It Equal time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Make It Equal time l 阅读全文
posted @ 2018-11-30 22:39 曖殇 阅读(207) 评论(0) 推荐(0) 编辑

2018年11月25日

摘要: We have a sequence of length N consisting of non-negative integers. Consider performing the following operation on this sequence until the largest ele 阅读全文
posted @ 2018-11-25 21:12 曖殇 阅读(124) 评论(0) 推荐(0) 编辑

摘要: Problem Statement In Takahashi Kingdom, there is an archipelago of N islands, called Takahashi Islands. For convenience, we will call them Island 1, I 阅读全文
posted @ 2018-11-25 20:47 曖殇 阅读(201) 评论(0) 推荐(0) 编辑