上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: RunningTime Limit:1000MSMemory Limit:65536KTotal Submissions:5598Accepted:2102DescriptionThe cows are trying to become better athletes, so Bessie is r... 阅读全文
posted @ 2015-08-21 22:13 albertxwz 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Cow ContestTime Limit:1000MSMemory Limit:65536KTotal Submissions:8330Accepted:4696DescriptionN(1 ≤N≤ 100) cows, conveniently numbered 1..N, are partic... 阅读全文
posted @ 2015-08-20 13:30 albertxwz 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Game of LinesTime Limit:1000MSMemory Limit:65536KTotal Submissions:6555Accepted:2439DescriptionFarmer John has challenged Bessie to the following game... 阅读全文
posted @ 2015-08-19 21:37 albertxwz 阅读(189) 评论(0) 推荐(0) 编辑
摘要: Peter studies the theory of relational databases. Table in the relational database consists of values that are arranged in rows and columns.There are ... 阅读全文
posted @ 2015-08-15 12:36 albertxwz 阅读(399) 评论(0) 推荐(0) 编辑
摘要: Unix lsThe computer company you work for is introducing a brand new computer line and is developing a new Unix-like operating system to be introduced ... 阅读全文
posted @ 2015-08-14 22:57 albertxwz 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Ugly NumbersUgly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, ...shows the first 11 ugl... 阅读全文
posted @ 2015-08-14 21:03 albertxwz 阅读(341) 评论(0) 推荐(0) 编辑
摘要: Team QueueQueuesandPriority Queuesare data structures which are known to most computer scientists. TheTeam Queue, however, is not so well known, thoug... 阅读全文
posted @ 2015-08-14 17:26 albertxwz 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 这道题能在《算法经典(第二版)》上找到,不贴图了。看了看书,发现书比我自己想到的好多了。苟蒻在此跪拜 刘汝佳大神。#include#include#include#include#include#include#include#includeusing namespace std;#define A... 阅读全文
posted @ 2015-08-14 15:45 albertxwz 阅读(333) 评论(0) 推荐(0) 编辑
摘要: To the MaxTime Limit:1000MSMemory Limit:10000KTotal Submissions:43725Accepted:23166DescriptionGiven a two-dimensional array of positive and negative i... 阅读全文
posted @ 2015-08-14 13:50 albertxwz 阅读(149) 评论(0) 推荐(0) 编辑
摘要: AnanagramsMost crossword puzzle fans are used toanagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, POT... 阅读全文
posted @ 2015-08-14 12:22 albertxwz 阅读(226) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页