- 博客(17)
- 资源 (1)
- 收藏
- 关注
原创 Segment
SegmentTime Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 5 Accepted Submission(s) : 2Font: Times New Roman | Verdana | GeorgiaFont Size: ←
2014-01-17 14:44:09
700
原创 Max Sum
Max SumTime Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 6 Accepted Submission(s) : 4Font: Times New Roman | Verdana | GeorgiaFont Size: ←
2014-01-17 13:45:51
628
原创 Hierarchy (Codefroces17B)
题目链接:http://codeforces.com/problemset/problem/17/BB. HierarchyNick's company employed n people. Now Nick needs to build a tree hierarchy of «supervisor-surbodinate» relations in the co
2014-01-17 13:21:28
864
原创 Borg Maze(POJ3026)
大致的题意:一个 Y 行 X 列的迷宫,空格表示可通行的路, “#”表示墙 ,不能通行,现在从S出发,要求用最短的路径连接所有的字母A,输出这条路径的长度。思路:首先是要构图,但难点在于必须要计算每个字母与字母之间的最短距离,而且图每一个格的长度是1,那么两点的距离就是横坐标之差加上纵坐标之差,计算两个字母的最短距离可以用BFS(广搜)或DFS(深搜),两个字母的最短距离就是两个
2013-08-16 19:17:19
557
原创 The 3n + 1 problem(HDU1032)
The 3n + 1 problemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16462 Accepted Submission(s): 6061Problem DescriptionProblems in Compu
2013-08-16 09:04:56
481
原创 椭圆相交问题
描述最近天文学家发现了一对奇特的卫星,分别命名为A和B。我们知道,卫星通常以椭圆轨道移动,A和B也一样。但是他们的轨迹非常特殊: (1)他们的轨迹在同一平面,具有相同的圆心。 (2)连接两个焦点组成的部分互相垂直。 如果我们将中心标为O,A的焦点为F1和F2,我们就可以建立笛卡尔坐标,O点为圆心,通过F1和F2的为X轴。 下面是一个例子: 天文学家想了解卫星更多东西,他们决定计算其相交面积。不幸
2013-08-16 09:04:54
1869
原创 Eddy\'s research I(HDU1164)
Eddy's research ITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4570 Accepted Submission(s): 2736Problem DescriptionEddy's interest is very
2013-08-16 09:04:51
437
原创 A hard puzzle(HDU1097)
A hard puzzleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22701 Accepted Submission(s): 7957Problem Descriptionlcy gives a hard puzzle to
2013-08-16 09:04:49
430
原创 不可摸数(HDU1999)
不可摸数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6240 Accepted Submission(s): 1619Problem Descriptions(n)是正整数n的真因子之和,即小于n且整除n的因子和.例如s(12)=
2013-08-16 09:04:47
994
原创 The calculation of GPA (HDU1202)
The calculation of GPATime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14162 Accepted Submission(s): 3291Problem Description每学期的期末,大家都会忙于计算自己的
2013-08-16 09:04:45
876
原创 Rightmost Digit(HDU1061)
Rightmost DigitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 23184 Accepted Submission(s): 8836Problem DescriptionGiven a positive integer
2013-08-16 09:04:42
496
原创 关于位运算
按位左右移位运算符按位左右移位运算符是最常用的两个,即便没有用过也用过它的重载:cout和cin>> 吧! ...>> 1 = / 2>> 2 = / 4...移位运算符包括:“>> 右移”;“左移”;“>>> 无符号右移”例子:-5>>3=-11111 1111 1111 1111 1111 1111 1111 10111111 1111 1111 1111 1111 1111 1111 111
2013-08-16 09:04:40
399
原创 Fibonacci Again(HDU1021)
Fibonacci AgainTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25104 Accepted Submission(s): 12153Problem DescriptionThere are another kind o
2013-08-16 09:04:38
413
原创 Encoding(HDU1020)
EncodingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18463 Accepted Submission(s): 7947Problem DescriptionGiven a string containing only '
2013-08-16 09:04:36
489
原创 Number Sequence(HDU1005)
Number SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 70207 Accepted Submission(s): 16285Problem DescriptionA number sequence is def
2013-08-16 09:04:33
361
原创 Let the Balloon Rise(HDU1004)
Let the Balloon RiseTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 48681 Accepted Submission(s): 17381Problem DescriptionContest time again!
2013-08-16 09:04:31
404
原创 A + B Problem II(HDU1002)
A + B Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 138369 Accepted Submission(s): 26247Problem DescriptionI have a very simple p
2013-08-16 09:04:29
442
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人