![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ZOJ
ERROR无限
这个作者很懒,什么都没留下…
展开
-
ZOJ 1050 start up the startup
Clearly the economy is bound to pick up again soon. As a forward-thinking Internet entrepreneur, you think that the 'Net will need a new search engine to serve all the people buying new computers. Bec原创 2016-02-01 11:18:11 · 415 阅读 · 0 评论 -
ZOJ 1045 题目大意:叠放卡片,使上面第一张盖住第二张的1/2,第二张盖第三张的1/3,依次类推,输出达到c的最少卡片数
Description How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're assuming that the cards must be perpe原创 2016-01-22 14:06:26 · 440 阅读 · 0 评论 -
ZOJ 1049 题目大意就是路易斯安那每年缩减50 square miles,缩减的是以(0,0)为圆心的半圆,对于任意x,y坐标,输出几年之后被淹没
Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the state of Louisiana is actually shrinking by 50 square原创 2016-01-23 11:55:53 · 921 阅读 · 0 评论 -
ZOJ 1058 题目大意就是 两个字 换钱。
When Issac Bernand Miller takes a trip to another country, say to France, he exchanges his US dollars for French francs. The exchange rate is a real number such that when multiplied by the number of d原创 2016-01-23 12:06:58 · 396 阅读 · 0 评论 -
ZOJ 1067 题目大意:hiahiahiahia~如下所示~
Problem A color reduction is a mapping from a set of discrete colors to a smaller one. The solution to this problem requires that you perform just such a mapping in a standard twenty-four bit RGB c原创 2016-01-23 12:33:38 · 272 阅读 · 0 评论 -
ZOJ 1078 题目大意是 :判断 一些数在从二到十六的进制是否是回文数
Statement of the Problem We say that a number is a palindrom if it is the sane when read from left to right or from right to left. For example, the number 75457 is a palindrom. Of course, the prope原创 2016-01-23 12:59:51 · 465 阅读 · 0 评论 -
ZOJ 1003 Crashing Balloon
On every June 1st, the Children's Day, there will be a game named "crashing balloon" on TV. The rule is very simple. On the ground there are 100 labeled balloons, with the numbers 1 to 100. After the原创 2016-01-24 13:24:24 · 309 阅读 · 0 评论 -
ZOJ 1006 Do the untwist T^T
Cryptography deals with methods of secret communication that transform a message (the plaintext) into a disguised form (the ciphertext) so that no one seeing the ciphertext will be able to figure out原创 2016-01-24 14:59:36 · 303 阅读 · 0 评论 -
ZOJ 1006 的代码
#include #include using namespace std; int main() { int k; string a,c; int b[100]; while(cin >> k && k) { cin >> a; int n = a.length(); fo原创 2016-01-24 15:03:02 · 230 阅读 · 0 评论 -
ZOJ 1005 jugs
In the movie "Die Hard 3", Bruce Willis and Samuel L. Jackson were confronted with the following puzzle. They were given a 3-gallon jug and a 5-gallon jug and were asked to fill the 5-gallon jug with原创 2016-01-24 18:42:42 · 233 阅读 · 0 评论 -
ZOJ 1016 Parencodings *^*
Let S = s1 s2 ... s2n be a well-formed string of parentheses. S can be encoded in two different ways: By an integer sequence P = p1 p2 ... pn where pi is the number of left parentheses before the原创 2016-01-25 11:57:02 · 232 阅读 · 0 评论 -
ZOJ 1024 Calendar game *……*
Adam and Eve enter this year's ACM International Collegiate Programming Contest. Last night, they played the Calendar Game, in celebration of this contest. This game consists of the dates from January原创 2016-01-25 15:29:34 · 348 阅读 · 0 评论 -
ZOJ 1009 Enigma
In World War II, Germany once used an electronic encryption machine called Enigma, which played a decisive role in the initial victories of Nazi Germany. It was proved to be one of the most reliable e原创 2016-01-30 17:59:18 · 269 阅读 · 0 评论 -
ZOJ 1014 OPERAND
Professor Maple teaches mathematics in a university. He have invented a function for the purpose of obtaining the operands from an expression. The function named op(i,e) can be described as follows:原创 2016-01-30 18:23:00 · 299 阅读 · 0 评论 -
ZOJ 1042 W's cipher
Weird Wally's Wireless Widgets, Inc. manufactures an eclectic assortment of small, wireless, network capable devices, ranging from dog collars, to pencils, to fishing bobbers. All these devices have v原创 2016-01-31 13:52:56 · 239 阅读 · 0 评论 -
ZOJ 1038 T9
Background A while ago it was quite cumbersome to create a message for the Short Message Service (SMS) on a mobile phone. This was because you only have nine keys and the alphabet has more than nin原创 2016-02-01 11:14:50 · 300 阅读 · 0 评论 -
ZOJ1037 题目大意就是 计算在这个国家中所有城市的旅行售货员问题的最短长度,每个城市位于矩形网格的点上,方向有八个,单位长度为1
Problem The president of Gridland has hired you to design a program that calculates the length of the shortest traveling-salesman tour for the towns in the country. In Gridland, there is one town a原创 2016-01-22 13:50:05 · 1179 阅读 · 0 评论