随笔分类 -  数学

摘要:SumdivSumdivTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 15364Accepted: 3790DescriptionConsider two natural ... 阅读全文
posted @ 2015-04-16 21:34 daydaycode 阅读(242) 评论(0) 推荐(0)
摘要:E - 娜娜梦游仙境系列——莫名其妙的插曲E - 娜娜梦游仙境系列——莫名其妙的插曲Time Limit: 2000/1000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others)Problem Description娜 娜因为帮... 阅读全文
posted @ 2015-04-13 22:25 daydaycode 阅读(207) 评论(0) 推荐(0)
摘要:Matrix Power Series 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #inclu... 阅读全文
posted @ 2015-04-05 22:13 daydaycode 阅读(214) 评论(0) 推荐(0)
摘要:Blocks设涂到第I块时,颜色A,B都为偶数的数量为ai,一奇一偶的数量为bi,都为奇数为ci, 那么涂到第i+1快时有a[i+1]=2*a[i]+b[i]+0*c[i];b[i+1]=2*a[i]+2*b[i]+2*c[i];C... 阅读全文
posted @ 2015-04-05 20:09 daydaycode 阅读(188) 评论(0) 推荐(0)
摘要:GTY's birthday gift Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) ... 阅读全文
posted @ 2015-02-09 00:27 daydaycode 阅读(154) 评论(0) 推荐(0)
摘要:B1. Permutationstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a permutation p of... 阅读全文
posted @ 2015-02-08 14:41 daydaycode 阅读(245) 评论(0) 推荐(0)
摘要:我们需要把一块石头平稳的从地板上拿起来。石头的底面是多边形且各个部分的高度都一样,我们需要找出石头的重心。input测试案例 T;每组第一行给出N,表示定点数。接下来N行,每行连个数,表示坐标。定点按顺时针或逆时针给出。output 重心坐标。两个数中间一个空格,每个数保留两位小数。思路 把多变... 阅读全文
posted @ 2014-08-12 11:03 daydaycode 阅读(226) 评论(0) 推荐(0)
摘要:HDU 4932 BestcoderProblem DescriptionThere are N point on X-axis . Miaomiao would like to cover them ALL by using segments with same length.There ar... 阅读全文
posted @ 2014-08-11 09:08 daydaycode 阅读(204) 评论(0) 推荐(0)
摘要:Problem DescriptionGiven two matrices A and B of size n×n, find the product of them.bobo hates big integers. So you are only asked to find the result ... 阅读全文
posted @ 2014-08-05 23:13 daydaycode 阅读(144) 评论(0) 推荐(0)
摘要:Time Limit: 10000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 28373Accepted Submission(s): 7417Problem Descript... 阅读全文
posted @ 2014-04-29 21:50 daydaycode 阅读(202) 评论(2) 推荐(1)