![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数学
文章平均质量分 69
a1647566717
这个作者很懒,什么都没留下…
展开
-
求N!的位数
#include{测试事例小雨10,所以不用存到数组中}求位数用log10()+1;至于阶乘用对数相加!!!!!#includeint main(){ int n,N,i,m; double a; scanf("%d",&n); while(n--) { scanf("%d"原创 2011-07-27 09:56:12 · 359 阅读 · 0 评论 -
已知圆上的三个点求此圆的周长
The Circumference of the Circle本题在ZOJ上题号是1090,在POJ上是2242。题目描述如下:DescriptionTo calculate the circumference of a circle seems to be an easy task - provided you know its diameter. But what if you d原创 2012-04-13 21:54:26 · 2619 阅读 · 0 评论 -
hdu 2036 求多边形面积问题
改革春风吹满地Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9462 Accepted Submission(s): 4767Problem Description“ 改革春风吹满地,不会AC没关系;原创 2012-03-20 20:17:32 · 1216 阅读 · 0 评论 -
两个矩阵相乘问题
两个矩阵相乘 (n,m,k为小于50的正整数)Time Limit:1000MS Memory Limit:65536KTotal Submit:247 Accepted:96 Description大家都会手算两个矩阵相乘吧,是不是感觉很简单但是很麻烦啊!其实这种工作就应该就给计算机做,那么我们开始吧! 现在就开始做一劳永逸的事情吧!Input 输入原创 2012-03-20 19:36:07 · 5677 阅读 · 0 评论 -
Humidex
HumidexTime Limit:1000MS Memory Limit:65536KTotal Submit:24 Accepted:15 DescriptionAdapted from Wikipedia, the free encyclopediaThe humidex is a measurement used by Canadian meteorologists原创 2012-03-18 10:48:03 · 1899 阅读 · 0 评论 -
阶乘问题
GCCTime Limit:1000MS Memory Limit:65536KTotal Submit:64 Accepted:25 DescriptionThe GNU Compiler Collection (usually shortened to GCC) is a compiler system produced by the GNU Project supportin原创 2012-03-19 12:29:25 · 1137 阅读 · 0 评论 -
hdu1020
EncodingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11421 Accepted Submis原创 2011-08-14 09:37:09 · 1421 阅读 · 0 评论 -
hdu1019(求最小公倍数要先除后乘)
Least Common MultipleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12051 Ac原创 2011-08-14 08:57:17 · 1571 阅读 · 1 评论 -
hdu1060
Leftmost DigitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5699 Accepted S原创 2011-08-12 17:08:19 · 1345 阅读 · 0 评论 -
hdu1021
Fibonacci AgainTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15238 Accepted原创 2011-08-12 11:42:47 · 3587 阅读 · 0 评论 -
hdu1061
Rightmost DigitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12548 Accepted原创 2011-08-12 17:29:49 · 1413 阅读 · 0 评论 -
poj1269
Intersecting LinesTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 5442 Accepted: 2567Description原创 2011-08-06 20:50:04 · 765 阅读 · 0 评论 -
ZZULI 1679 Switch
SwitchTime Limit:1000MS Memory Limit:65536KTotal Submit:43 Accepted:23 DescriptionThere are N lights in a line. Given the states (on/off) of the lights, your task is to determine at least h原创 2012-05-09 18:29:50 · 1488 阅读 · 0 评论