随笔分类 - 刷题
摘要:原题链接:https://www.acwing.com/problem/content/2062/ ##Problem Description: 听说最近两斑点的奶牛最受欢迎,约翰立即购进了一批两斑点牛。 不幸的是,时尚潮流往往变化很快,当前最受欢迎的牛变成了一斑点牛。 约翰希望通过给每头奶牛涂色,
阅读全文
摘要:原题链接:https://www.acwing.com/problem/content/2043/ ##Problem Description: 贝茜对她最近在农场周围造成的一切恶作剧感到抱歉,她同意帮助农夫约翰把一批新到的干草捆堆起来。 开始时,共有 N 个空干草堆,编号 1∼N。 约翰给贝茜下达
阅读全文
摘要:原题链接:http://poj.org/problem?id=1753 ##Problem Description: Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its
阅读全文
摘要:原题链接:https://acm.dingbacode.com/showproblem.php?pid=2544 ##Problem Description: 众所周知,小明的体能非常的差。体能弱弱的小明发现他每次背着电脑在教学楼和寝室来回走的路实在是太累了,所以他想找到一条他最短的路在两处往返来让
阅读全文
摘要:原题链接:https://acm.dingbacode.com/showproblem.php?pid=1698 ##Problem Description: In the game of DotA, Pudge’s meat hook is actually the most horrible t
阅读全文
摘要:原题链接:http://poj.org/problem?id=3122 ##Problem Description: My birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a
阅读全文
摘要:原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1285 ##Problem Description: 有N个比赛队(1<=N<=500),编号依次为1,2,3,。。。。,N进行比赛,比赛结束后,裁判委员会要将所有参赛队伍从前往后依次排名,但现在裁判委员
阅读全文
摘要:原题链接:https://vjudge.net/problem/POJ-3087#author=wuyang1002431655 ##Problem Description: A common pastime for poker players at a poker table is to shuf
阅读全文
摘要:原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1506 ##Problem Description: A histogram is a polygon composed of a sequence of rectangles aligned at a
阅读全文
摘要:原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1035 ##Problem Description: A robot has been programmed to follow the instructions in its path. Instruc
阅读全文
摘要:原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1754 ##Problem Description: 很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很反感。 不管你喜不喜欢,现在需要你做的是,就是按照老
阅读全文
摘要:原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1241 ##Problem Description: The GeoSurvComp geologic survey company is responsible for detecting underg
阅读全文

浙公网安备 33010602011771号