摘要: A group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arrangement mu 阅读全文
posted @ 2018-04-22 23:10 王陸 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 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-04-22 13:28 王陸 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Description 500年前,Jesse是我国最卓越的剑客。他英俊潇洒,而且机智过人^_^。突然有一天,Jesse心爱的公主被魔王困在了一个巨大的迷宫中。Jesse听说这个消息已经是两天以后了,他知道公主在迷宫中还能坚持T天,他急忙赶到迷宫,开始到处寻找公主的下落。 时间一点一点的过去,Jes 阅读全文
posted @ 2018-04-22 13:14 王陸 阅读(413) 评论(0) 推荐(0) 编辑
摘要: Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From 阅读全文
posted @ 2018-04-22 11:27 王陸 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangula 阅读全文
posted @ 2018-04-22 10:49 王陸 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 1、输入n的值,求出n的阶乘。 2、折纸上月球 大家都看过科幻片《火星救援The Martian》吧,电影里航天员们在太空中碰到各种情况都是靠计算机模拟、计算来解决问题的。我们在地球上也可以靠高大上的Python语言来解决问题。现在问题来了:我们都知道,月亮在一个椭圆形的轨道上绕地球公转,因此两者的 阅读全文
posted @ 2018-04-22 10:30 王陸 阅读(5920) 评论(2) 推荐(2) 编辑
摘要: Description Due to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 <= N <= 10 阅读全文
posted @ 2018-04-22 00:03 王陸 阅读(299) 评论(0) 推荐(0) 编辑