摘要: Paired Up 题目描述 Farmer John finds that his cows are each easier to milk when they have another cow nearby for moral support. He therefore wants to take 阅读全文
posted @ 2017-07-29 16:47 路人姜。 阅读(1018) 评论(0) 推荐(0)
摘要: 取数游戏 时间限制: 1 Sec 内存限制: 64 MB 题目描述 给出2n(n≤100)个自然数(小于等于30000)。将这2n个自然数排成一列,游戏双方A和B从中取数,只允许从两端取数。A先取,然后双方轮流取数。取完时,谁取得数字总和最大为取胜方;若双方和相等,属B胜。试问A方是否有必胜策略? 阅读全文
posted @ 2017-07-29 08:24 路人姜。 阅读(2056) 评论(0) 推荐(0)