摘要:
RunningTime Limit:1000MSMemory Limit:65536KTotal Submissions:5598Accepted:2102DescriptionThe cows are trying to become better athletes, so Bessie is r... 阅读全文
摘要:
Cow ContestTime Limit:1000MSMemory Limit:65536KTotal Submissions:8330Accepted:4696DescriptionN(1 ≤N≤ 100) cows, conveniently numbered 1..N, are partic... 阅读全文
摘要:
Game of LinesTime Limit:1000MSMemory Limit:65536KTotal Submissions:6555Accepted:2439DescriptionFarmer John has challenged Bessie to the following game... 阅读全文
摘要:
Peter studies the theory of relational databases. Table in the relational database consists of values that are arranged in rows and columns.There are ... 阅读全文
摘要:
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 ... 阅读全文
摘要:
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... 阅读全文
摘要:
Team QueueQueuesandPriority Queuesare data structures which are known to most computer scientists. TheTeam Queue, however, is not so well known, thoug... 阅读全文
摘要:
这道题能在《算法经典(第二版)》上找到,不贴图了。看了看书,发现书比我自己想到的好多了。苟蒻在此跪拜 刘汝佳大神。#include#include#include#include#include#include#include#includeusing namespace std;#define A... 阅读全文
摘要:
To the MaxTime Limit:1000MSMemory Limit:10000KTotal Submissions:43725Accepted:23166DescriptionGiven a two-dimensional array of positive and negative i... 阅读全文
摘要:
AnanagramsMost crossword puzzle fans are used toanagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, POT... 阅读全文