摘要:
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]=... 阅读全文
摘要:
Problem Description 在美丽的HDU,有一名大三的同学,他的速度是众所周知的,跑100米仅仅用了2秒47,在他跑步过程中会留下残影的哎,大家很想知道他是谁了吧,他叫仙人球,既然名字这样了,于是他的思想是单一的,他总是喜欢从一点出发,经过3次转折(每次向右转90°),回到出发点,... 阅读全文
摘要:
Problem Description 转眼又到了一年的年末,Lele又一次迎来了期末考试。虽然说每年都要考试,不过今年的这场考试对Lele来说却意义重大。因为经济原因,如果今年没有排在班级前几名,而拿不到奖学金的话,家里便无力再供他继续读书。而且家里帮他都想好出路了——回家种田!... 阅读全文
摘要:
Problem Description One day, winnie received a box and a letter. In the letter, there are three integers and five operations(+,-,*,/,%). If o... 阅读全文
摘要:
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) 看到这个时间,我懵逼了。。。 果然,Java就是打表,都不能AC,因为Java的输入是流,需要的时间比C真的长好多... 阅读全文
摘要:
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... 阅读全文
摘要:
此题如果有用JavaACDSee,请评论,谢谢了。Problem Description Give you a string, just circumgyrate. The number N means you just circumgyrate the string N ... 阅读全文