摘要: Solitaire is a game played on a chessboard 8x8. The rows and columns of the chessboard are numbered from 1 to 8, from the top to the bottom and from l 阅读全文
posted @ 2016-07-11 20:41 wust_ouyangli 阅读(505) 评论(0) 推荐(0) 编辑
摘要: Problem Description You are given n closed, integer intervals [ai, bi] and n integers c1, ..., cn.Write a program that:> reads the number of intervals 阅读全文
posted @ 2016-07-11 19:12 wust_ouyangli 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Problem Description Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀). Input 输入数据的第一部分是一张单词表,每行一个单词,单词的长度不超过10,它们代表 阅读全文
posted @ 2016-07-11 16:19 wust_ouyangli 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Let's play a card game called Gap. You have 28 cards labeled with two-digit numbers. The first digit (from 1 to 4) represents the suit of the card, an 阅读全文
posted @ 2016-07-11 16:13 wust_ouyangli 阅读(1076) 评论(0) 推荐(0) 编辑
摘要: Problem Description When ALPC42 got to a panzer brigade, He was asked to build software to help them regroup the battalions or companies. As the tradi 阅读全文
posted @ 2016-07-11 15:36 wust_ouyangli 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Josephina is a clever girl and addicted to Machine Learning recently. She pays much attention to a method called Linear Discriminant Analysis, which h 阅读全文
posted @ 2016-07-11 15:22 wust_ouyangli 阅读(247) 评论(0) 推荐(0) 编辑
摘要: Jerboas are small desert-living animals, which resemble mice with a long tufted tail and very long hind legs. Jerboas shelter in well-hidden burrows. 阅读全文
posted @ 2016-07-11 15:13 wust_ouyangli 阅读(361) 评论(0) 推荐(0) 编辑
摘要: What a sunny day! Let’s go picnic and have barbecue! Today, all kids in “Sun Flower” kindergarten are prepared to have an excursion. Before kicking of 阅读全文
posted @ 2016-07-11 14:50 wust_ouyangli 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Hiking in the mountains is seldom an easy task for most people, as it is extremely easy to get lost during the trip. Recently Green has decided to go 阅读全文
posted @ 2016-07-11 14:32 wust_ouyangli 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Description Data-mining huge data sets can be a painful and long lasting process if we are not aware of tiny patterns existing within those data sets. 阅读全文
posted @ 2016-07-11 14:09 wust_ouyangli 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 题目我就不粘贴了。。。 题意:给出地图,最大8*8,出口用'E'表示,空地用'.'表示,数字表示此处有多少个箱子,主人公的起点应该是在有箱子的地方,他可以朝四个方向移动,但是只有两种方式 一种是他移动到的位置也是有箱子的地方,另一种是空地,此时他可以把他所处位置的箱子全部推倒,朝那个方向铺成一条线, 阅读全文
posted @ 2016-07-11 13:54 wust_ouyangli 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Old MacDonald has a farm and a large potato field, (1010 + 1) × (1010 + 1) square meters in size. The field is divided into square garden beds, each b 阅读全文
posted @ 2016-07-11 11:19 wust_ouyangli 阅读(494) 评论(0) 推荐(1) 编辑