摘要: http://localhost:9528/ 阅读全文
posted @ 2022-02-25 20:32 Ellery_lrh 阅读(215) 评论(0) 推荐(0) 编辑
摘要: You are playing a two player game. Initially there are n integer numbers in an array and player A and B get chance to take them alternatively. Each pl 阅读全文
posted @ 2019-10-27 15:13 Ellery_lrh 阅读(162) 评论(0) 推荐(0) 编辑
摘要: For any school, it is hard to find a feasible accommodation plan with every student assigned to a suitable apartment while keeping everyone happy, let 阅读全文
posted @ 2019-10-23 13:09 Ellery_lrh 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Stone Game II comes. It needs two players to play this game. There are some piles of stones on the desk at the beginning. Two players move the stones 阅读全文
posted @ 2019-10-21 21:54 Ellery_lrh 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Two players take turns picking candies from n heaps,the player who picks the last one will win the game.On each turn they can pick any number of candi 阅读全文
posted @ 2019-10-21 13:11 Ellery_lrh 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 7-7 完美的代价 (50 分) 7-7 完美的代价 (50 分) 回文串,是一种特殊的字符串,它从左往右读和从右往左读是一样的。小龙龙认为回文串才是完美的。现在给你一个串,它不一定是回文的,请你计算最少的交换次数使得该串变成一个完美的回文串。 交换的定义是:交换两个相邻的字符 例如mamad 第一 阅读全文
posted @ 2019-10-20 16:20 Ellery_lrh 阅读(730) 评论(0) 推荐(1) 编辑
摘要: Adam and Eve enter this year’s ACM International Collegiate Programming Contest. Last night, they played the Calendar Game, in celebration of this con 阅读全文
posted @ 2019-10-17 22:18 Ellery_lrh 阅读(160) 评论(0) 推荐(0) 编辑
摘要: There are n students and m clubs in a college. The clubs are numbered from 1 to m. Each student has a potential pi and is a member of the club with in 阅读全文
posted @ 2019-10-16 22:49 Ellery_lrh 阅读(240) 评论(0) 推荐(0) 编辑
摘要: hdu2255:奔小康赚大钱(二分图带权最大匹配) Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 17911 Accepted Submissi 阅读全文
posted @ 2019-10-16 19:26 Ellery_lrh 阅读(132) 评论(0) 推荐(0) 编辑
摘要: hdu1536: Arthur and his sister Caroll have been playing a game called Nim for some time now. Nim is played as follows: The starting position has a num 阅读全文
posted @ 2019-10-14 16:38 Ellery_lrh 阅读(179) 评论(0) 推荐(0) 编辑