上一页 1 ··· 84 85 86 87 88 89 90 91 92 ··· 119 下一页
摘要: X^2-d*Y^2=1 若d不是完全平方数,则该方程有无穷多组(X,Y)解 阅读全文
posted @ 2012-09-05 22:50 加拿大小哥哥 阅读(213) 评论(0) 推荐(1)
摘要: MatrixTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1390 Accepted Submission(s): 507Problem Des... 阅读全文
posted @ 2012-09-05 20:21 加拿大小哥哥 阅读(990) 评论(0) 推荐(0)
摘要: Super Jumping! Jumping! Jumping!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 13479 Accepted Submission(s): 5626Problem DescriptionNowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a g 阅读全文
posted @ 2012-09-05 13:23 加拿大小哥哥 阅读(217) 评论(0) 推荐(0)
摘要: //c++中int转为string #include <iostream>#include <string>using namespace std;int main(){ int i,j,k; string s(""); char *temp = new char; sprintf(temp,"%d",1234); s += string(temp); cout<<s<<endl; cout<<s[0]<<" "<<s[1]<<" 阅读全文
posted @ 2012-09-04 22:52 加拿大小哥哥 阅读(507) 评论(0) 推荐(0)
摘要: Leftmost DigitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8550 Accepted Submission(s): 3296Problem DescriptionGiven a positive integer N, you should output the leftmost digit of N^N.InputThe input contains several test cases. The first line of 阅读全文
posted @ 2012-09-04 22:06 加拿大小哥哥 阅读(517) 评论(0) 推荐(0)
摘要: 前m大的数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5596 Accepted Submission(s): 1986Problem Des... 阅读全文
posted @ 2012-09-04 12:36 加拿大小哥哥 阅读(496) 评论(0) 推荐(0)
摘要: TroubleTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2961 Accepted Submission(s): 893Problem DescriptionHassan is in trouble. His mathematics teacher has given him a very difficult problem called 5-sum. Please help him.The 5-sum problem is defi 阅读全文
posted @ 2012-09-04 08:55 加拿大小哥哥 阅读(250) 评论(0) 推荐(0)
摘要: Regular PolygonTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 2515 Accepted Submission(s): 782Problem DescriptionIn a 2_D plane, there is a point strictly in a regular polygon with N sides. If you are given the distances between it and N vertexes 阅读全文
posted @ 2012-09-04 08:19 加拿大小哥哥 阅读(335) 评论(0) 推荐(0)
摘要: 取三角形三条边的中点,并且连接起来就将其剖分成4个面积相等的小三角形了 。因为高和底均变为一半 阅读全文
posted @ 2012-09-03 20:36 加拿大小哥哥 阅读(678) 评论(0) 推荐(1)
摘要: Max Sum of Max-K-sub-sequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4080 Accepted Submission(s): 1453Problem DescriptionGiven a circle sequence A[1],A[2],A[3]......A[n]. Circle sequence means the left neighbour of A[1] is A[n] , and the r 阅读全文
posted @ 2012-09-03 13:07 加拿大小哥哥 阅读(594) 评论(0) 推荐(0)
上一页 1 ··· 84 85 86 87 88 89 90 91 92 ··· 119 下一页