上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 56 下一页
摘要: http://poj.org/problem?id=3660DescriptionN (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participati... 阅读全文
posted @ 2019-07-14 17:28 宿星 阅读(62) 评论(0) 推荐(0) 编辑
摘要: https://vjudge.net/problem/UVA-11624题意分析:一个人要逃离迷宫,迷宫的一些地方有火,每1分钟火会蔓延周围4块地板,人可以向4块地板移动,求人能逃出的最短时间,如果不能逃出,输... 阅读全文
posted @ 2019-07-14 17:28 宿星 阅读(105) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=2533DescriptionA numeric sequence of ai is ordered if a1 #include using namespac... 阅读全文
posted @ 2019-07-14 17:25 宿星 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 在用VS写程序的时候,不在末尾加getchar(),窗口会自动退出,下面是解决窗口自动关闭的方法,不用加getchar()等函数也能让窗口不会关闭。1. 选择项目,点击属性:2. 选择链接器->系统->子系统,点... 阅读全文
posted @ 2019-07-13 10:17 宿星 阅读(3636) 评论(0) 推荐(0) 编辑
摘要: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3On every June 1st, the Children's Day, there w... 阅读全文
posted @ 2019-07-13 09:06 宿星 阅读(122) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=2607DescriptionA city is served by a number of fire stations. Some residents hav... 阅读全文
posted @ 2019-07-12 17:56 宿星 阅读(142) 评论(0) 推荐(0) 编辑
摘要: #include #include#includeint main(){ initgraph(500, 500); IMAGE img; loadimage(&img, L"C:\\Users\\Lenovo\\... 阅读全文
posted @ 2019-07-11 16:49 宿星 阅读(2425) 评论(0) 推荐(0) 编辑
摘要: https://vjudge.net/problem/HRBUST-1658判断一个图是否能够用一笔画下来.规定,所有的边都只能画一次,不能重复画。Input第一行只有一个正整数N(N#include #defi... 阅读全文
posted @ 2019-07-10 18:35 宿星 阅读(137) 评论(0) 推荐(0) 编辑
摘要: https://vjudge.net/problem/UVA-10182 题意分析:题意很明显,有两个蜂巢的编号方式,给出右边的,求左边的编号。解题思路:图中可以看出来第1层有1个,第2层有6*1=6个,第3层有... 阅读全文
posted @ 2019-07-10 18:35 宿星 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 题目描述给出一个N个顶点M条边的无向无权图,顶点编号为1−N。问从顶点1开始,到其他每个点的最短路有几条。输入输出格式输入格式: 第一行包含2个正整数N,M为图的顶点数与边数。接下来M行,每行2个正整数x,y,表... 阅读全文
posted @ 2019-07-10 15:10 宿星 阅读(194) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 56 下一页