摘要:
Problem Description大家都知道,手机号是一个11位长的数字串,同时,作为学生,还可以申请加入校园网,如果加入成功,你将另外拥有一个短号。假设所有的短号都是是 6+手机号的后5位,比如号码为13512345678的手机,对应的短号就是645678。现在,如果给你一个11位长的手机号码... 阅读全文
posted @ 2014-11-11 20:32
zqxLonely
阅读(804)
评论(0)
推荐(0)
摘要:
Problem Description寒假的时候,ACBOY要去拜访很多朋友,恰巧他所有朋友的家都处在坐标平面的X轴上。ACBOY可以任意选择一个朋友的家开始访问,但是每次访问后他都必须回到出发点,然后才能去访问下一个朋友。比如有4个朋友,对应的X轴坐标分别为1, 2, 3, 4。当ACBOY选择坐... 阅读全文
posted @ 2014-11-11 20:29
zqxLonely
阅读(458)
评论(0)
推荐(0)
摘要:
Problem DescriptionThe contest starts now! How excited it is to see balloons floating around. You, one of the best programmers in HDU, can get a very ... 阅读全文
posted @ 2014-11-11 20:12
zqxLonely
阅读(336)
评论(0)
推荐(0)
摘要:
Problem Description有二个整数,它们加起来等于某个整数,乘起来又等于另一个整数,它们到底是真还是假,也就是这种整数到底存不存在,实在有点吃不准,你能快速回答吗?看来只能通过编程。例如:x + y = 9,x * y = 15 ? 找不到这样的整数x和y1+4=5,1*4=4,所以,... 阅读全文
posted @ 2014-11-11 19:54
zqxLonely
阅读(495)
评论(0)
推荐(0)
摘要:
Problem DescriptionFind and list all four-digit numbers in decimal notation that have the property that the sum of its four digits equals the sum of i... 阅读全文
posted @ 2014-11-11 19:09
zqxLonely
阅读(349)
评论(0)
推荐(0)
摘要:
Problem DescriptionIn the new year party, everybody will get a "special present".Now it's your turn to get your special present, a lot of presents now... 阅读全文
posted @ 2014-11-11 18:57
zqxLonely
阅读(297)
评论(0)
推荐(0)
摘要:
Problem Descriptionmmm is learning division, she's so proud of herself that she can figure out the sum of all the divisors of numbers no larger than 1... 阅读全文
posted @ 2014-11-11 18:03
zqxLonely
阅读(359)
评论(0)
推荐(0)
摘要:
Problem DescriptionThere must be many A + B problems in our HDOJ , now a new one is coming.Give you two hexadecimal integers , your task is to calcula... 阅读全文
posted @ 2014-11-11 16:18
zqxLonely
阅读(994)
评论(0)
推荐(0)
摘要:
Problem Description最后的挑战终于到了!站在yifenfei和MM面前的只剩下邪恶的大魔王lemon一人了!战胜他,yifenfei就能顺利救出MM。Yifenfei和魔王lemon的挑战很简单:由lemon给出三个字符串,然后要yifenfei说出第一串的某个子串,要求该子串长度... 阅读全文
posted @ 2014-11-11 14:23
zqxLonely
阅读(335)
评论(0)
推荐(0)
摘要:
Problem Description新年快到了,“猪头帮协会”准备搞一个聚会,已经知道现有会员N人,把会员从1到N编号,其中会长的号码是N号,凡是和会长是老朋友的,那么该会员的号码肯定和N有大于1的公约数,否则都是新朋友,现在会长想知道究竟有几个新朋友?请你编程序帮会长计算出来。Input第一行是... 阅读全文
posted @ 2014-11-11 11:57
zqxLonely
阅读(292)
评论(0)
推荐(0)