2016年5月5日
摘要: Problem Description 凡看过功夫熊猫这部电影的人都会对影片中那只憨憨的熊猫阿波留下相当深的印象,胖胖的熊猫阿波自从打败了凶狠强悍的雪豹泰龙以后,在和平谷的地位是越来越高,成为谷中第一的功夫大师。并因此他父亲经营的面馆的生意也越来越好,店里每天都会有许多慕名而来吃面... 阅读全文
posted @ 2016-05-05 21:26 cnxo 阅读(180) 评论(0) 推荐(0)
摘要: Problem Description As the increase of population, the living space for people is becoming smaller and smaller. In MagicStar the problem is m... 阅读全文
posted @ 2016-05-05 21:07 cnxo 阅读(138) 评论(0) 推荐(0)
摘要: Problem Description 当抢救人员发现她的时候,她已经死了,是被垮塌下来的房子压死的,透过那一堆废墟的的间隙可以看到她死亡的姿势,双膝跪着,整个上身向前匍匐着,双手扶着地支撑着身体,有些象古人行跪拜礼,只是身体被压的变形了。救援人员从废墟的空隙伸手进去确认了她已经死... 阅读全文
posted @ 2016-05-05 20:42 cnxo 阅读(128) 评论(0) 推荐(0)
摘要: Problem Description A有1数m,B来猜.B每猜一次,A就说”太大”,”太小”或”对了” 。 问B猜n次可以猜到的最大数。 Input 第1行是整数T,表示有T组数据,下面有T行 每行一个整数n (1 ≤ n ≤ 30) Output 猜n次可以猜到的最大数S... 阅读全文
posted @ 2016-05-05 20:12 cnxo 阅读(228) 评论(0) 推荐(0)
摘要: Problem Description Rock, Paper, Scissors is a two player game, where each player simultaneously chooses one of the three items after countin... 阅读全文
posted @ 2016-05-05 19:52 cnxo 阅读(138) 评论(0) 推荐(0)
摘要: Problem Description Write a program to determine the summation of several sets of integers.Input The input file will consist of up to 250 set... 阅读全文
posted @ 2016-05-05 19:34 cnxo 阅读(152) 评论(0) 推荐(0)
摘要: Problem Description Write a program to read in a list of integers and determine whether or not each number is prime. A number, n, is prime if... 阅读全文
posted @ 2016-05-05 19:24 cnxo 阅读(139) 评论(0) 推荐(0)
摘要: Problem Description 我们定义如下矩阵: 1/1 1/2 1/3 1/2 1/1 1/2 1/3 1/2 1/1 矩阵对角线上的元素始终是1/1,对角线两边分数的分母逐个递增。 请求出这个矩阵的总和。Input 每行给定整数N (Ndouble a[50005]=... 阅读全文
posted @ 2016-05-05 19:08 cnxo 阅读(195) 评论(0) 推荐(0)
摘要: Problem Description 在美丽的HDU,有一名大三的同学,他的速度是众所周知的,跑100米仅仅用了2秒47,在他跑步过程中会留下残影的哎,大家很想知道他是谁了吧,他叫仙人球,既然名字这样了,于是他的思想是单一的,他总是喜欢从一点出发,经过3次转折(每次向右转90°),回到出发点,... 阅读全文
posted @ 2016-05-05 12:25 cnxo 阅读(376) 评论(0) 推荐(0)
摘要: Problem Description 转眼又到了一年的年末,Lele又一次迎来了期末考试。虽然说每年都要考试,不过今年的这场考试对Lele来说却意义重大。因为经济原因,如果今年没有排在班级前几名,而拿不到奖学金的话,家里便无力再供他继续读书。而且家里帮他都想好出路了——回家种田!... 阅读全文
posted @ 2016-05-05 11:35 cnxo 阅读(206) 评论(0) 推荐(0)
摘要: Problem Description One day, winnie received a box and a letter. In the letter, there are three integers and five operations(+,-,*,/,%). If o... 阅读全文
posted @ 2016-05-05 10:50 cnxo 阅读(144) 评论(0) 推荐(0)
摘要: Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) 看到这个时间,我懵逼了。。。 果然,Java就是打表,都不能AC,因为Java的输入是流,需要的时间比C真的长好多... 阅读全文
posted @ 2016-05-05 01:57 cnxo 阅读(149) 评论(0) 推荐(0)
摘要: Problem Description Give you a lot of positive integers, just to find out how many prime numbers there are.Input There are a lot of cases... 阅读全文
posted @ 2016-05-05 01:30 cnxo 阅读(127) 评论(0) 推荐(0)
摘要: 此题如果有用JavaACDSee,请评论,谢谢了。Problem Description Give you a string, just circumgyrate. The number N means you just circumgyrate the string N ... 阅读全文
posted @ 2016-05-05 00:47 cnxo 阅读(228) 评论(0) 推荐(0)