上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页
摘要: Deli DeliTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3485Accepted: 1954DescriptionMrs. Deli is running the delicatessen store "Deli Deli". Last year Mrs. Deli has decided to expand her business and build up an online store. She has hired a programmer who has implemented the on 阅读全文
posted @ 2011-11-23 10:07 w0w0 阅读(301) 评论(0) 推荐(0) 编辑
摘要: SubsequenceTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 6865Accepted: 3998DescriptionGiven a string s of length n, a subsequence of it, is defined as another string s' = su1su2...sum where 1 ≤ u1 < u2 < ... < um ≤ n and si is the ith character of s. Your task is to write a p 阅读全文
posted @ 2011-11-23 10:06 w0w0 阅读(206) 评论(0) 推荐(0) 编辑
摘要: ICPC Score Totalizer SoftwareTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 5955Accepted: 4130DescriptionThe International Clown and Pierrot Competition (ICPC), is one of the most distinguished and also the most popular events on earth in the show business. One of the unique features of th 阅读全文
posted @ 2011-11-23 10:06 w0w0 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Tour de FranceTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3661Accepted: 1734DescriptionA racing bicycle is driven by a chain connecting two sprockets. Sprockets are grouped into two clusters: the front cluster (typically consisting of 2 or 3 sprockets) and the rear cluster (typically co 阅读全文
posted @ 2011-11-23 10:05 w0w0 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Go for Lab Cup!Time Limit: 1000MSMemory Limit: 131072KTotal Submissions: 7595Accepted: 3887DescriptionThe Lab Cup Table Tennis Competition is going to take place soon among laboratories in PKU. Students from the AI Lab are all extreme enthusiasts in table tennis and hold strong will to represent the 阅读全文
posted @ 2011-11-23 10:04 w0w0 阅读(227) 评论(0) 推荐(0) 编辑
摘要: HumidexTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 9883Accepted: 3755DescriptionAdapted from Wikipedia, the free encyclopediaThe humidex is a measurement used by Canadian meteorologists to reflect the combined effect of heat and humidity. It differs from the heat index used in the Unite 阅读全文
posted @ 2011-11-23 10:04 w0w0 阅读(147) 评论(0) 推荐(0) 编辑
摘要: CoinsTime Limit: 1000MSMemory Limit: 131072KTotal Submissions: 5958Accepted: 3856DescriptionSnoopy has three coins. One day he tossed them on a table then and tried to flip some of them so that they had either all heads or all tails facing up. After several attempts, he found that regardless of the 阅读全文
posted @ 2011-11-23 10:02 w0w0 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Cow BowlingTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 9426Accepted: 6216DescriptionThe cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a standard bowling-pin-like triangle like this: 7 3 8... 阅读全文
posted @ 2011-11-23 10:01 w0w0 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Uncle JackTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3744Accepted: 1565DescriptionDear Uncle Jack is willing to give away some of his collectable CDs to his nephews. Among the titles you can find very rare albums of Hard Rock, Classical Music, Reggae and much more; each title is consid 阅读全文
posted @ 2011-11-23 10:01 w0w0 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Parkside's TriangleTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 6482Accepted: 3918DescriptionBessie taught the cows to make Parkside's Triangle. It is generated from two numbers: the size and the seed. The size N (1 <= N <= 20) determines how many rows are in the triangle a 阅读全文
posted @ 2011-11-23 10:00 w0w0 阅读(199) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>using namespace std;int main(){ char temp[15]; int score; int t,n; int sum; int draw; while(1) { cin>>t; cin>>n; if(t==0) break; sum=0; while(t--) { cin>>temp; cin>>score; sum... 阅读全文
posted @ 2011-11-23 09:50 w0w0 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Java vs C++Time Limit: 2000MSMemory Limit: 65536KTotal Submissions: 6109Accepted: 1675DescriptionApologists of Java and C++ can argue for hours proving each other that their programming language is the best one. Java people will tell that their programs are clearer and less prone to errors, while C+ 阅读全文
posted @ 2011-11-23 09:50 w0w0 阅读(371) 评论(0) 推荐(0) 编辑
摘要: Surprising StringsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3839Accepted: 2582DescriptionThe D-pairs of a string of letters are the ordered pairs of letters that are distance D from each other. A string is D-unique if all of its D-pairs are different. A string is surprising if it is D 阅读全文
posted @ 2011-11-23 09:49 w0w0 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Root of the ProblemTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 9940Accepted: 5297DescriptionGiven positive integers B and N, find an integer A such that AN is as close as possible to B. (The result A is an approximation to the Nth root of B.) Note that AN may be less than, equal to, or 阅读全文
posted @ 2011-11-23 09:49 w0w0 阅读(178) 评论(0) 推荐(0) 编辑
摘要: QuicksumTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 9911Accepted: 6842DescriptionA checksum is an algorithm that scans a packet of data and returns a single number. The idea is that if the packet is changed, the checksum will also change, so checksums are often used for detecting transm 阅读全文
posted @ 2011-11-23 09:48 w0w0 阅读(173) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页