posted @ 2017-03-26 23:07
~~碾压机
阅读(3)
推荐(0)
posted @ 2017-03-26 20:30
~~碾压机
阅读(3)
推荐(0)
posted @ 2017-03-25 10:30
~~碾压机
阅读(3)
推荐(0)
posted @ 2017-03-24 23:11
~~碾压机
阅读(4)
推荐(0)
posted @ 2017-03-24 18:45
~~碾压机
阅读(8)
推荐(0)
posted @ 2017-03-24 16:57
~~碾压机
阅读(11)
推荐(0)
摘要:
The Rotation GameTime Limit : 30000/15000ms (Java/Other)Memory Limit : 300000/150000K (Java/Other)Total Submission(s) : 29Accepted Submission(s) : 12Problem DescriptionThe rotation game uses a # shaped board, which can hold 24 pieces of square blocks (see Fig.1). The blocks are marked with symbols 1
阅读全文
posted @ 2013-11-06 21:55
~~碾压机
阅读(299)
推荐(0)
摘要:
Largest Rectangle in a HistogramTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 16Accepted Submission(s) : 6Problem DescriptionA histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal wid
阅读全文
posted @ 2013-10-29 19:12
~~碾压机
阅读(233)
推荐(0)
摘要:
继续xxx定律 HDU3784先看这个题目:HDU3782 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int main() 7 { 8 int n,s; 9 while(scanf("%d",&n)!=EOF)10 {11 if(n==0)12 break;13 s=0;14 while(n!=1)15 {16 if(n%2==0)17 {n...
阅读全文
posted @ 2013-10-24 12:37
~~碾压机
阅读(237)
推荐(0)
摘要:
开心的mdd时间限制:1000ms | 内存限制:65535KB难度:3描述himdd有一天闲着无聊,随手拿了一本书,随手翻到一页,上面描述了一个神奇的问题,貌似是一个和矩阵有关的东西。给出三个矩阵和其行列A1(10*100),A2(100*5),A3(5*50)。现在himdd要算出计算矩阵所要的乘法次数,他发现不同的计算次序,所要的乘法次数也不一样,如:(A1*A2)*A3 : 10*100*5+5*10*50=7500;A1*(A2*A3) : 5*100*50+10*100*50 =75000;他想知道计算矩阵所要的最少乘法次数是多少,很快一个解法就诞生了,有点小happy~~现在他想
阅读全文
posted @ 2013-09-17 13:11
~~碾压机
阅读(208)
推荐(0)