摘要: 解题思路:http://acm.swust.edu.cn/problem/1023/Time limit(ms): 5000 Memory limit(kb): 65535DescriptionBH is in a maze,the maze is a matrix,he wants ... 阅读全文
posted @ 2015-06-22 15:48 繁夜 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.swust.edu.cn/problem/799/Time limit(ms): 1000 Memory limit(kb): 10000DescriptionButchering Farmer John's cows always yields the... 阅读全文
posted @ 2015-06-22 15:37 繁夜 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.swust.edu.cn/problem/771/Description将军有一个用栅栏围成的矩形农场和一只奶牛,在农场的一个角落放有一只矩形的箱子,有一天将军要出门,他就把奶牛用一根绳子套牢,然后将绳子的另一端绑到了那个箱子不靠栅栏的角上,现在给定箱子的长和宽,绳子... 阅读全文
posted @ 2015-06-22 15:27 繁夜 阅读(578) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.swust.edu.cn/problem/767/Time limit(ms): 1000 Memory limit(kb): 65535Description在涪江河的两边共有n个城市,其中位于一边的城市属于1类城市,另外一边的属于2类城市,(特别的:... 阅读全文
posted @ 2015-06-22 15:07 繁夜 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.swust.edu.cn/problem/794/Time limit(ms): 1000 Memory limit(kb): 10000Description设p1=(x1, y1), p2=(x2, y2), …, pn=(xn, yn)是平面上n个点构... 阅读全文
posted @ 2015-06-22 14:56 繁夜 阅读(1191) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.swust.edu.cn/problem/772/Time limit(ms): 1000 Memory limit(kb): 65535Description每个人都有朋友,朋友也有很多种,比如:石友--情谊坚贞的朋友。挚友--志同道合的朋友。益友--... 阅读全文
posted @ 2015-06-22 14:50 繁夜 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.swust.edu.cn/problem/797/Time limit(ms): 1000 Memory limit(kb): 10000DescriptionPalindromes are numbers that read the same forwar... 阅读全文
posted @ 2015-06-22 14:42 繁夜 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.swust.edu.cn/problem/801/Time limit(ms): 1000 Memory limit(kb): 10000DescriptionConsider the set of all reduced fractions between... 阅读全文
posted @ 2015-06-22 14:33 繁夜 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.swust.edu.cn/problem/795/Time limit(ms): 1000 Memory limit(kb): 65535DescriptionPenney’s game is a simple game typically played... 阅读全文
posted @ 2015-06-22 14:27 繁夜 阅读(606) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=1521EntropyTime Limit:1000MSMemory Limit:10000KDescriptionAn entropy encoder is a data encoding method that achieves lo... 阅读全文
posted @ 2015-06-22 14:12 繁夜 阅读(555) 评论(0) 推荐(0) 编辑