上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: 题目链接: http://poj.org/problem?id=2359 题意描述: 输入一个字符串 按照下面的规则,如果剩下的最后一个字符是‘?’,输出“Yes”,如果剩下的最后一个字符是' '(空格),输出“No”,其他字符均输出“No comments” 规则: 将该字符串首尾相接,从第一个字 阅读全文
posted @ 2017-10-10 20:17 Reqaw 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.split.hdu.edu.cn/showproblem.php?pid=1069 题意描述: 给n块砖,给出其长,宽和高 问将这n块砖,怎样叠放使得满足以下条件使得高度最高,是多少 条件:A砖要放在B砖上,必须满足,A的长和宽都同时小于B的长和宽。 解题思路: 首 阅读全文
posted @ 2017-10-09 19:52 Reqaw 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 题目链接 :http://poj.org/problem?id=2472 Description In the movie "Blues Brothers", the orphanage where Elwood and Jack were raised may be sold to the Boa 阅读全文
posted @ 2017-10-09 19:29 Reqaw 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://poj.org/problem?id=3923 题意描述: 输入一个n*m的屏幕 该屏幕内有至少一个对话框(每个对话框都有对应的字母表示) 判断并输出该屏幕内处于最表层的对话框是哪些(有多个的话按字典序) 解题思路: 很接近生活的一道模拟题,考察了思维的缜密性,尤其是出现嵌 阅读全文
posted @ 2017-10-02 22:25 Reqaw 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://poj.org/problem?id=3829 题意描述: 输入矩阵的大小n和m,以及来占位置的人数k 输入n*m的教室座位矩阵,每个值表示该座位的满意度 输入每个人来占位置的时间和需要几个位置h,m,q 计算并输出每个来占位置的人根据占位规则得到的坐标zx,zy,若一个位 阅读全文
posted @ 2017-10-02 22:07 Reqaw 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 首先,图论中的最小生成树问题就是给出一个大小为n*m邻接矩阵或者n个顶点m条边(包含每条边路径花费)的数据,让我们计算使得这n个顶点直接或间接联通所需要的最小花费。 其次,所给的数据分为稀疏图和稠密图,对于一个图,理论上n个顶点可以有n*(n-1)条边,如果该图中存在的边数m远小于n*(n-1),可 阅读全文
posted @ 2017-09-26 20:38 Reqaw 阅读(5844) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5122 Problem Description Matt’s friend K.Bro is an ACMer.Yesterday, K.Bro learnt an algorithm: Bubble 阅读全文
posted @ 2017-09-15 23:21 Reqaw 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5538 Problem Description Have you ever played the video game Minecraft? This game has been one of the 阅读全文
posted @ 2017-09-15 18:23 Reqaw 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5366 Problem Description ![](../../data/images/C613-1001-1.jpg)ZJiaQ want to become a strong man, so h 阅读全文
posted @ 2017-09-13 22:59 Reqaw 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5914 Problem Description Mr. Frog has n sticks, whose lengths are 1,2, 3⋯n respectively. Wallice is a 阅读全文
posted @ 2017-09-13 00:33 Reqaw 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5912 Problem Description Mr. Frog recently studied how to add two fractions up, and he came up with an 阅读全文
posted @ 2017-09-12 23:18 Reqaw 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=4034 Problem Description Everyone knows how to calculate the shortest path in a directed graph. In fac 阅读全文
posted @ 2017-09-12 11:52 Reqaw 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.nyist.me/JudgeOnline/problem.php?id=2356 题目描述 众所周知,LLM的算法之所以菜,就是因为成天打游戏,最近LLM突然想玩《金庸群侠传X》,结果进去后各种被虐,LLM就开始研究这个游戏的代码,顺便还学会了一点点点点lua语言, 阅读全文
posted @ 2017-09-01 21:31 Reqaw 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.nyist.net/JudgeOnline/problem.php?pid=1249 描述 某地区发生了地震,灾区已经非常困难,灾民急需一些帐篷、衣物、食品和血浆等物资。可通往灾区的道路到处都是塌方,70%以上的路面损坏,桥梁全部被毁。国家立即启动应急预案,展开史上 阅读全文
posted @ 2017-08-22 16:38 Reqaw 阅读(1732) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.nyist.net/JudgeOnline/problem.php?pid=1248 描述 神秘的海洋,惊险的探险之路,打捞海底宝藏,激烈的海战,海盗劫富等等。加勒比海盗,你知道吧?杰克船长驾驶着自己的的战船黑珍珠1号要征服各个海岛的海盜,最后成为海盗王。 这是一个 阅读全文
posted @ 2017-08-22 16:20 Reqaw 阅读(674) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://poj.org/problem?id=1426 Description Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal repre 阅读全文
posted @ 2017-08-21 20:53 Reqaw 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://poj.org/problem?id=2253 Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitt 阅读全文
posted @ 2017-08-21 19:57 Reqaw 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=3790 Problem Description 给你n个点,m条无向边,每条边都有长度d和花费p,给你起点s终点t,要求输出起点到终点的最短距离及其花费,如果最短距离有多条路线,则输出花费最少的。 In 阅读全文
posted @ 2017-08-21 17:47 Reqaw 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=3278 Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He 阅读全文
posted @ 2017-08-20 16:03 Reqaw 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=1071 Problem Description Ignatius bought a land last week, but he didn't know the area of the land bec 阅读全文
posted @ 2017-08-18 18:38 Reqaw 阅读(176) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页