摘要: 连连看 HDU - 1175 “连连看”相信很多人都玩过。没玩过也没关系,下面我给大家介绍一下游戏规则:在一个棋盘中,放了很多的棋子。如果某两个相同的棋子,可以通过一条线连起来(这条线不能经过其它棋子),而且线的转折次数不超过两次,那么这两个棋子就可以在棋盘上消去。不好意思,由于我以前没有玩过连连看 阅读全文
posted @ 2017-08-19 22:49 #Egoist# 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Monkey and Banana HDU - 1069 A group of researchers are designing an experiment to test the IQ of a monkey. They will hang a banana at the roof of a b 阅读全文
posted @ 2017-08-19 17:11 #Egoist# 阅读(216) 评论(0) 推荐(0) 编辑
摘要: B. Godsend Leha somehow found an array consisting of n integers. Looking at it, he came up with a task. Two players play the game on the array. Player 阅读全文
posted @ 2017-08-19 15:56 #Egoist# 阅读(284) 评论(0) 推荐(0) 编辑
摘要: A. Generous Kefa One day Kefa found n baloons. For convenience, we denote color of i-th baloon as si — lowercase letter of the Latin alphabet. Also Ke 阅读全文
posted @ 2017-08-19 15:39 #Egoist# 阅读(227) 评论(0) 推荐(0) 编辑