二分贪心
raptor.
事了拂衣去,深藏功与名。
展开
-
Babelfish
DescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you understand them....原创 2017-05-13 11:51:33 · 1922 阅读 · 0 评论 -
Expanding Rods
Expanding RodsTime Limit : 2000/1000ms (Java/Other) Memory Limit : 60000/30000K (Java/Other)Total Submission(s) : 123 Accepted Submission(s) : 43Problem DescriptionWhen a thin rod原创 2017-08-12 21:22:03 · 1971 阅读 · 0 评论 -
Drying
DryingTime Limit : 4000/2000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 93 Accepted Submission(s) : 30Problem DescriptionIt is very hard to was原创 2017-08-12 20:58:59 · 1962 阅读 · 0 评论 -
Can you solve this equation?
Can you solve this equation?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1308 Accepted Submission(s): 621 Prob原创 2017-06-21 09:32:03 · 1879 阅读 · 0 评论 -
Strange fuction
Strange fuctionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 732 Accepted Submission(s): 600 Problem Descriptio原创 2017-06-21 09:37:06 · 1882 阅读 · 0 评论 -
Can you find it?
Can you find it?Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/10000 K (Java/Others)Total Submission(s): 1302 Accepted Submission(s): 420 Problem Descrip原创 2017-06-21 09:46:21 · 2377 阅读 · 0 评论 -
Cup
CupTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 998 Accepted Submission(s): 353 Problem DescriptionThe WHU原创 2017-06-21 09:53:00 · 1798 阅读 · 0 评论 -
find the nth digit
find the nth digitTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 936 Accepted Submission(s): 357 Problem Descrip原创 2017-06-21 10:59:57 · 1840 阅读 · 0 评论 -
Turn the corner
Turn the cornerTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 715 Accepted Submission(s): 322 Problem Descriptio原创 2017-06-21 11:07:32 · 1971 阅读 · 0 评论 -
Grandpa is Famous
DescriptionThe whole family was excited by the news. Everyone knew grandpa had been an extremely good bridge player for decades, but when it was announced he would be in the Guinness Book of World R...原创 2017-05-13 12:54:20 · 2095 阅读 · 0 评论 -
Box of Bricks
DescriptionLittle Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. "Look, I've built a wall!", he tells his older sister Alice. "N...原创 2017-05-13 12:52:11 · 1733 阅读 · 0 评论 -
Packets
DescriptionA factory produces products packed in square packets of the same height h and of the sizes 1*1, 2*2, 3*3, 4*4, 5*5, 6*6. These products are always delivered to customers in the square par...原创 2017-05-13 12:38:49 · 1837 阅读 · 0 评论 -
Aggressive cows
DescriptionFarmer John has built a new long barn, with N (2 <= N <= 100,000) stalls. The stalls are located along a straight line at positions x1,...,xN (0 <= xi <= 1,000,000,000).His ...原创 2017-05-13 12:20:01 · 1797 阅读 · 0 评论 -
4 Values whose Sum is 0
DescriptionThe SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how many quadruplet (a, b, c, d ) ∈ A x B x C x D are such that a + b + c + d = 0 . In...原创 2017-05-13 12:07:00 · 1766 阅读 · 0 评论 -
Monthly Expense + Copying Books + Aggressive cows
这几个题都是典型的二分题目,都出现什么最大的最小 最小的最大什么的,这种绝壁二分,思想都是一样的,发到一起吧,对于这类题目,都是在确定上下限之后,判断当前的值是否满足题目中要求,比如说距离大小,分组多少等等具体问题具体分析 详见题目Monthly ExpenseTime Limit : 4000/2000ms (Java/Other) Memory Limit原创 2017-08-12 22:15:17 · 1880 阅读 · 0 评论