摘要: Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,00 阅读全文
posted @ 2018-02-12 22:48 听风不成泣 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,gloria可以穿越,有些地方是障碍,她必须绕行,从迷宫的一个位置,只能走到与它相邻的4个位置中,当然在行走过程中,gloria不能走到迷宫 阅读全文
posted @ 2018-02-11 10:32 听风不成泣 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Description 呃......变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的一个统一规律:如果咒语是以a开头b结尾的一个单词,那么它的作用就恰好是使A物体变成B物体. Harry已经将他所会的所有 阅读全文
posted @ 2018-02-10 22:38 听风不成泣 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Description Given a number N, you are asked to count the number of integers between A and B inclusive which are relatively prime to N. Two integers ar 阅读全文
posted @ 2018-02-08 16:52 听风不成泣 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Problem Description 经过锦囊相助,海东集团终于度过了危机,从此,HDU的发展就一直顺风顺水,到了2050年,集团已经相当规模了,据说进入了钱江肉丝经济开发区500强。这时候,XHD夫妇也退居了二线,并在风景秀美的诸暨市浬浦镇陶姚村买了个房子,开始安度晚年了。这样住了一段时间,徐总 阅读全文
posted @ 2018-02-07 21:41 听风不成泣 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Description Little Susie listens to fairy tales before bed every day. Today's fairy tale was about wood cutters and the little girl immediately starte 阅读全文
posted @ 2018-02-07 16:15 听风不成泣 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 题目描述 张琪曼等人用时空雷达定位李旭琳所在的空间位置。如图7.3所示,时空雷达装在一条直线上,直线上方是空间海洋,每个人在空间海洋的位置就如同大海中的岛屿,这些人的位置已知,每一个雷达的扫描范围是一个半径为d的圆形区域,问最少需要多少个雷达覆盖所有的人(岛屿)。 输入 输入包括多组测试数据,每组测 阅读全文
posted @ 2018-02-07 12:03 听风不成泣 阅读(380) 评论(0) 推荐(0) 编辑
摘要: Description Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating 阅读全文
posted @ 2018-02-07 12:01 听风不成泣 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Description One day , Kiki wants to visit one of her friends. As she is liable to carsickness , she wants to arrive at her friend’s home as soon as po 阅读全文
posted @ 2018-02-07 11:36 听风不成泣 阅读(206) 评论(0) 推荐(0) 编辑
摘要: Description 虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中 会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风景……草儿想去很多地方,她想要去东京铁塔看夜景,去威尼斯看电影,去阳明山上看海芋,去纽 阅读全文
posted @ 2018-02-07 10:15 听风不成泣 阅读(192) 评论(0) 推荐(0) 编辑