09 2015 档案
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5444Elven PostmanDescriptionElves are very peculiar creatures. As we all know, they can live for a very ...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5443The Water ProblemDescriptionIn Land waterless, water is a very limited resource. People always fight...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1237简单计算器Description读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。Input测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5412CRB and QueriesDescriptionThere are $N$ boys in CodeLand. Boy i has his coding skill $A_{i}$. CRB wa...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5349MZL's simple problemDescriptionA simple problemProblem DescriptionYou have a multiple set,and now th...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5327OlympiadDescriptionYou are one of the competitors of the Olympiad in numbers. The problem of this ye...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5311Hidden StringDescriptionToday is the 1st anniversary of BestCoder. Soda, the contest manager, gets a...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5253连接的管道Description老 Jack 有一片农田,以往几年都是靠天吃饭的。但是今年老天格外的不开眼,大旱。所以老 Jack 决定用管道将他的所有相邻的农田全部都串联起来,这样他就可以从远处引水...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5166Missing numberDescriptionThere is a permutation without two numbers in it, and now you know what num...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4715Difference Between PrimesDescriptionAll you know Goldbach conjecture.That is to say, Every even inte...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4707PetDescriptionOne day, Lin Ji wake up in the morning and found that his pethamster escaped. He searc...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4593RobotDescriptionA robot is a mechanical or virtual artificial agent, usually an electro-mechanical m...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4334TroubleDescriptionHassan is in trouble. His mathematics teacher has given him a very difficult probl...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4324Triangle LOVEDescriptionRecently, scientists find that there is love between any of two people. For ...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4255A Famous GridDescriptionMr. B has recently discovered the grid named "spiral grid".Construct the gri...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=3549Flow ProblemDescriptionNetwork flow is a well-known difficult problem for ACMers. Given a graph, you...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=3371Connect the CitiesDescriptionIn 2100, since the sea level rise, most of the cities disappear. Though...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2846RepositoryDescriptionWhen you go shopping, you can search in repository for avalible merchandises by...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2120Ice_cream's world IDescriptionice_cream's world is a rich country, it has many fertile lands. Today,...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2095hdu 2095 find your present (2)DescriptionIn the new year party, everybody will get a "special presen...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2035人见人爱A^BDescription求A^B的最后三位数表示的整数。说明:A^B的含义是“A的B次方”Input输入数据包含多个测试实例,每个实例占一行,由两个正整数A和B组成(1#include#i...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2034人见人爱A-BDescription参加过上个月月赛的同学一定还记得其中的一个最简单的题目,就是{A}+{B},那个题目求的是两个集合的并集,今天我们这个A-B求的是两个集合的差,就是做集合的减法运算...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1575Tr ADescriptionA为一个方阵,则Tr A表示A的迹(就是主对角线上各项的和),现要求Tr(A^k)%9973。Input数据的第一行是一个T,表示有T组数据。每组数据的第一行有n(2 #...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1496EquationsDescriptionConsider equations having the following form:a*x1^2+b*x2^2+c*x3^2+d*x4^2=0a, b, ...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1162Eddy's pictureDescriptionEddy begins to like painting pictures recently ,he is sure of himself to be...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1102Constructing RoadsDescriptionThere are N villages, which are numbered from 1 to N, and you should bu...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1061Rightmost DigitDescriptionGiven a positive integer N, you should output the most right digit of N^N....
阅读全文
摘要:题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=1054移动玩具Description在一个4*4的方框内摆放了若干个相同的玩具,某人想将这些玩具重新摆放成为他心中理想的状态,规定移动时只能将玩具向上下左右四个方向移动,并且移动的位置不能有玩具...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1005Number SequenceDescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5427A problem of sortingDescriptionThere are many people's name and birth in a list.Your task is to prin...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1880魔咒词典Description哈利波特在魔法学校的必修课之一就是学习魔咒。据说魔法世界有100000种不同的魔咒,哈利很难全部记住,但是为了对抗强敌,他必须在危急时刻能够调用任何一个需要的魔咒,所以他...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2988Dark roadsDescriptionEconomic times these days are tough, even in Byteland. To reduce the operating ...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5326WorkDescriptionIt’s an interesting experience to move from ICPC to work, end my college life and sta...
阅读全文
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4308Saving Princess claire_DescriptionPrincess claire_ was jailed in a maze by Grand Demon Monster(GDM) ...
阅读全文
摘要:题目连接http://poj.org/problem?id=3625Building RoadsDescriptionFarmer John had just acquired several new farms! He wants to connect the farms with roads s...
阅读全文
摘要:题目连接http://poj.org/problem?id=2560FrecklesDescriptionIn an episode of the Dick Van Dyke show, little Richie connects the freckles on his Dad's back to...
阅读全文
摘要:题目连接http://poj.org/problem?id=1840Battle CityDescriptionMany of us had played the game "Battle city" in our childhood, and some people (like me) even ...
阅读全文
摘要:题目连接http://poj.org/problem?id=2002SquaresDescriptionA square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angl...
阅读全文

浙公网安备 33010602011771号